Interface IExtensionPoint
Represents an extension point, defined by an extension attribute (see ExtensionAttribute), annotated by an ExtensionPointInfoAttribute.
Namespace: SdlSdl.CorePluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public interface IExtensionPoint
Properties
AllExtensions
Returns the read-only collection of extensions registered with this extension point, including extensions that have been disabled.
Declaration
ExtensionCollection AllExtensions { get; }
Property Value
Type | Description |
---|---|
ExtensionCollection |
ExtensionAttributeType
Gets the type of extension attribute that defines this extension point.
Declaration
Type ExtensionAttributeType { get; }
Property Value
Type | Description |
---|---|
Type |
Extensions
Returns the read-only collection of enabled extensions registered with this extension point.
Declaration
ExtensionCollection Extensions { get; }
Property Value
Type | Description |
---|---|
ExtensionCollection |
IsDynamic
True if this extension point supports dymically enabling or disabling extensions, without having to restart the application.
Declaration
bool IsDynamic { get; }
Property Value
Type | Description |
---|---|
bool |
Name
Gets the name of this extension point.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Events
ExtensionEnabledChanged
Raised when a extension within this extension point is enabled or disabled.
Declaration
event EventHandler<ExtensionEventArgs> ExtensionEnabledChanged
Event Type
Type | Description |
---|---|
EventHandlerExtensionEventArgs |