[This is preliminary documentation and is subject to change.]
The ConfigAttribute type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | ConfigAttribute |
Decorates members so that path is defaulted from member's name with prepended '$' attribute symbol
|
![]() | ConfigAttribute(String) |
Decorates members that will be configured from supplied path
|
![]() | ConfigAttribute(String, Object) |
Decorates members that will be configured from supplied path and defaulted in case
the supplied path does not resolve to existing node
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | Apply(Object, IConfigSectionNode) |
Applies config values to fields/properties as specified by config attributes
|
![]() ![]() | Apply T (T, IConfigSectionNode) |
Applies config values to fields/properties as specified by config attributes
|
![]() | ![]() | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() ![]() | GetConfigPathsForMember |
Generates 2 attribute paths for named member. This first path is just the member name converted to lower case.
The seconfd path is "OR"ed with the first one and is taken from member name where all case transitions are prefixed with "-".
For private fields 'm_' and 's_' prefixes are removed
|
![]() | ![]() | Returns the hash code for this instance. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from ![]() |
![]() | ![]() | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | Default |
Default value used when configuration does not specify any other value
|
![]() | Path |
String path of configuration source i.e. 'log/machine-name'.
Path is relative to item root
|
![]() | ![]() | When implemented in a derived class, gets a unique identifier for this (Inherited from ![]() ![]() |
![]() | Verbatim |
Takes verbatim value if true
|
See Also