Class RegisterComponentAttribute
- Namespace
- Kentico.EmailBuilder.Web.Mvc
- Assembly
- Kentico.Content.Web.Mvc.dll
Registers definition of Email builder feature component.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public abstract class RegisterComponentAttribute : Attribute, IPreInitAttribute
- Inheritance
-
objectAttributeRegisterComponentAttribute
- Implements
- Derived
- Extension Methods
Constructors
RegisterComponentAttribute(string, string, Type)
Creates an instance of the RegisterComponentAttribute class.
protected RegisterComponentAttribute(string identifier, string name, Type componentType)
Parameters
identifierstringUnique identifier of the component definition.
namestringName of the registered component.
componentTypeTypeType of the registered component.
Properties
Description
Description of the registered component.
public string Description { get; set; }
Property Value
- string
IconClass
Font-icon CSS class of the registered component.
public string IconClass { get; set; }
Property Value
- string
Identifier
Unique identifier of the component definition.
public string Identifier { get; }
Property Value
- string
MarkedType
Type of the registered component.
public Type MarkedType { get; }
Property Value
- Type
Name
Name of the registered component.
public string Name { get; }
Property Value
- string
Methods
PreInit()
Registers the component definition during application pre-initialization.
public abstract void PreInit()