Class ExtensionPointInfoAttribute
Attribute for identifying an extension point attribute definition.
Inheritance
Namespace: Sdl.Core.PluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public sealed class ExtensionPointInfoAttribute : Attribute
Remarks
To define a new extension point, create an ExtensionAttribute, annotated with an ExtensionPointInfoAttribute. For more information on how to define extension points, see ExtensionAttribute.
Constructors
ExtensionPointInfoAttribute(String, ExtensionPointBehavior)
Constructor with a name and behavior.
Declaration
public ExtensionPointInfoAttribute(string name, ExtensionPointBehavior behavior)
Parameters
Type | Name | Description |
---|---|---|
String | name | A name for this extension point. |
ExtensionPointBehavior | behavior | The behavior of this extension point. |
Remarks
To define a new extension point, create an ExtensionAttribute, annotated with an ExtensionPointInfoAttribute. For more information on how to define extension points, see ExtensionAttribute.
Properties
Behavior
Gets or sets the type of this extension point.
Declaration
public ExtensionPointBehavior Behavior { get; set; }
Property Value
Type | Description |
---|---|
ExtensionPointBehavior |
Remarks
To define a new extension point, create an ExtensionAttribute, annotated with an ExtensionPointInfoAttribute. For more information on how to define extension points, see ExtensionAttribute.
Name
Gets or sets the name of this extension point.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
To define a new extension point, create an ExtensionAttribute, annotated with an ExtensionPointInfoAttribute. For more information on how to define extension points, see ExtensionAttribute.