Class PluginAttribute
Assembly-level attribute that indicates that an assembly contains extension definitions.
Inherited Members
Namespace: SdlSdl.CorePluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class PluginAttribute : Attribute
Constructors
PluginAttribute(string)
Constructor with required properties.
Declaration
public PluginAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | A friendly name for this plug-in. Should typically be a key of a resource string in PluginResources.resx. |
Properties
Name
Gets or sets the friendly name for this plug-in. Should typically be a key of a resource string in PluginResources.resx.
Declaration
[PluginResource]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |