|
Empeld
Empeld plugin documentation.
|
Attribute that designates a configuration setting is needed for a specific plugin or component of the plugin More...
Public Member Functions | |
| ConfigAttribute (string name, string displayName, object dflt) | |
| bool | Is (Type t) |
| bool | Is< T > () |
Properties | |
| string | Name [get] |
| Gets the internal name of the plugin More... | |
| string | DisplayName [get] |
| Gets the display name of the plugin More... | |
| string | Description [get, set] |
| Gets or sets the description of the configuration item More... | |
| object | Default [get] |
| Gets or sets the default value for the item More... | |
| object [] | ValidValues [get, set] |
| Gets or sets all valid items that the config can be More... | |
| bool | HasValidValues [get] |
| Gets a value indicating whether this instance has valid values. More... | |
| Type | Type [get, set] |
Attribute that designates a configuration setting is needed for a specific plugin or component of the plugin
Attribute: AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = true, Inherited = true)
| pluginbase.Attributes.ConfigAttribute.ConfigAttribute | ( | string | name, |
| string | displayName, | ||
| object | dflt | ||
| ) |
| bool pluginbase.Attributes.ConfigAttribute.Is | ( | Type | t | ) |
| bool pluginbase.Attributes.ConfigAttribute.Is< T > | ( | ) |
|
get |
Gets or sets the default value for the item
The default.
|
getset |
Gets or sets the description of the configuration item
The description.
|
get |
Gets the display name of the plugin
The display name.
|
get |
Gets a value indicating whether this instance has valid values.
true if this instance has valid values; otherwise, false.
|
get |
Gets the internal name of the plugin
The name.
|
getset |
|
getset |
Gets or sets all valid items that the config can be
The valid values.