Class ConfigElement<T>
Wrapper for types that understands how to merge
Inheritance
ConfigElement<T>
Assembly: Coordinator.Configuration.Contract.dll
Syntax
public class ConfigElement<T>
Type Parameters
Constructors
View Source
ConfigElement(T, MergeBehavior)
Create a config element with a given value and specified merge behavior
Declaration
public ConfigElement([PropertyMap("Value")] T value = null, [PropertyMap("MergeBehavior")] MergeBehavior mergeBehavior = MergeBehavior.Ignore)
Parameters
Properties
View Source
MergeBehavior
Declaration
public MergeBehavior MergeBehavior { get; }
Property Value
View Source
Value
Declaration
Property Value
Operators
View Source
Implicit(T to ConfigElement<T>)
Declaration
public static implicit operator ConfigElement<T>(T element)
Parameters
Type |
Name |
Description |
T |
element |
|
Returns
View Source
Implicit(ConfigElement<T> to T)
Declaration
public static implicit operator T(ConfigElement<T> config)
Parameters
Returns
Extension Methods