Class GetValueOutcome.Succeeded
Returned by TryGetValue<T>(String, String, CultureInfo) as well as TryGetValue<T>(String, String, CultureInfo) implementations when the configuration was parsed successfully. Value contains the resulting value, and ApplyToMatched describes whether 'ApplyTo' was used and matched, or not.
Implements
Namespace: actionETL.Configuration
Assembly: actionETL.dll
Syntax
public class Succeeded : IGetValueOutcome
Constructors
Succeeded(Object, Boolean)
Initializes a new instance of the GetValueOutcome.Succeeded class.
Declaration
public Succeeded(object value, bool applyToMatched)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | value | The resulting value. |
| Boolean | applyToMatched |
This is typically used to give configurations with ApplyTo higher precedence vs. non-ApplyTo configurations. |
Properties
ApplyToMatched
Returns true if the retrieved configuration used ApplyTo;
otherwise false.
This is typically used to give configurations with ApplyTo higher precedence vs. non-ApplyTo configurations.
Declaration
public bool ApplyToMatched { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Value
Gets the resulting value of the configuration. Must be cast to the final type.
Declaration
public object Value { get; }
Property Value
| Type | Description |
|---|---|
| Object |