Class RegisterExtensionAttribute
- Namespace
- CMS
- Assembly
- CMS.Base.dll
Marks the class as extension of the given class
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class RegisterExtensionAttribute : Attribute, IPreInitAttribute
- Inheritance
-
objectAttributeRegisterExtensionAttribute
- Implements
- Extension Methods
Constructors
RegisterExtensionAttribute(Type, Type)
Constructor
public RegisterExtensionAttribute(Type extensionType, Type extendedType)
Parameters
extensionTypeTypeExtension type
extendedTypeTypeExtended type
Properties
ExtensionType
Gets the extension type
public Type ExtensionType { get; protected set; }
Property Value
- Type
MarkedType
Gets the extended type
public Type MarkedType { get; protected set; }
Property Value
- Type
Methods
GetExtensionObject()
Creates an extension object based on extension type
protected IGenericExtension GetExtensionObject()
Returns
PreInit()
Initializes the attribute
public void PreInit()