Class DictionaryParameterValueProvider
- Namespace
- Acuit.Pinpoint.Workflows.Parameters
- Assembly
- Acuit.Pinpoint.Workflows.dll
public class DictionaryParameterValueProvider : IParameterValueProvider
- Inheritance
-
DictionaryParameterValueProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
DictionaryParameterValueProvider(IEnumerable<KeyValuePair<string, object>>)
public DictionaryParameterValueProvider(IEnumerable<KeyValuePair<string, object>> parameters)
Parameters
parametersIEnumerable<KeyValuePair<string, object>>
DictionaryParameterValueProvider(IReadOnlyDictionary<string, object>)
public DictionaryParameterValueProvider(IReadOnlyDictionary<string, object> source)
Parameters
sourceIReadOnlyDictionary<string, object>
DictionaryParameterValueProvider(params KeyValuePair<string, object>[])
public DictionaryParameterValueProvider(params KeyValuePair<string, object>[] parameters)
Parameters
parametersKeyValuePair<string, object>[]
Methods
TryGetParameterValue(string, out object)
Tries to provide a parameter value.
public bool TryGetParameterValue(string name, out object value)
Parameters
namestringThe name of a parameter. Nested levels should be separated by colons (':').
valueobjectThe retrieved value, or undefined if the value could not be retrieved.
Returns
Exceptions
- ArgumentNullException
nameis null.