Class ExtensionPointInfoAttribute
Attribute for identifying an extension point attribute definition.
Inherited Members
Namespace: SdlSdl.CorePluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
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. |
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 |
---|---|
string |