Class PropertyDefinitionTypePlugInAttribute
Automatically register a property type on startup
Inheritance
Inherited Members
Namespace: EPiServer.PlugIn
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class PropertyDefinitionTypePlugInAttribute : PlugInAttribute
Examples
This property type will automatically be registered with EPiServer
[PropertyDefinitionTypePlugIn]
public class PropertySpecialLink : PropertyString
{
// ...
// ...
// ...
}
Constructors
PropertyDefinitionTypePlugInAttribute()
Initializes a new instance of the Property
Declaration
public PropertyDefinitionTypePlugInAttribute()
Properties
GUID
Gets or sets the unique id for the corresponding Property
Declaration
public string GUID { get; set; }
Property Value
Type | Description |
---|---|
System. |
The unique id of the Property |
Remarks
Use Get
Methods
GetGUID()
Returns the nullable Guid for the corresponding property GUID.
Declaration
public Nullable<Guid> GetGUID()
Returns
Type | Description |
---|---|
System. |
Remarks
If the usage of the attribute has not set the GUID property this will not have any value.
Match(Object)
Returns a value indicating whether this instance equals a specified object.
Declaration
public override bool Match(object o)
Parameters
Type | Name | Description |
---|---|---|
System. |
o | The object to match. |
Returns
Type | Description |
---|---|
System. |
True if the object matches this instance. |
Examples
Used internally to selectively load plugins.
Start()
Auto-start method that is called upon application startup.
Declaration
public static void Start()
Remarks
The Plug