Class RegisterComponentAttribute
Basic implementation allowing to register definition of Form builder feature component.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public abstract class RegisterComponentAttribute : Attribute, IPreInitAttribute
- Inheritance
-
objectAttributeRegisterComponentAttribute
- Implements
- Derived
- Extension Methods
Constructors
RegisterComponentAttribute(string, Type, string)
Creates an instance of the RegisterComponentAttribute class.
protected RegisterComponentAttribute(string identifier, Type type, string name)
Parameters
identifierstringUnique identifier definition.
typeTypeType which serves the component.
namestringName of the registered component.
Properties
Identifier
Unique identifier of the definition.
public string Identifier { get; }
Property Value
- string
MarkedType
Component serving type.
public Type MarkedType { get; protected set; }
Property Value
- Type
Name
Name of the registered component.
public string Name { get; }
Property Value
- string
Methods
PreInit()
Registers the Form Builder definition during application pre-initialization.
public abstract void PreInit()