Class ExtensionPointInfoAttribute
Attribute for identifying an extension point attribute definition.
Inheritance
System.Object
ExtensionPointInfoAttribute
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 |
---|---|---|
System.String | name | A name for this extension point. |
ExtensionPointBehavior | behavior | The behavior of this extension point. |
Properties
Behavior
Gets or sets the type of this extension point.
Declaration
public ExtensionPointBehavior Behavior { get; set; }
Property Value
Type | Description |
---|---|
ExtensionPointBehavior |
Name
Gets or sets the name of this extension point.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |