Table of Contents

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

parameters IEnumerable<KeyValuePair<string, object>>

DictionaryParameterValueProvider(IReadOnlyDictionary<string, object>)

public DictionaryParameterValueProvider(IReadOnlyDictionary<string, object> source)

Parameters

source IReadOnlyDictionary<string, object>

DictionaryParameterValueProvider(params KeyValuePair<string, object>[])

public DictionaryParameterValueProvider(params KeyValuePair<string, object>[] parameters)

Parameters

parameters KeyValuePair<string, object>[]

Methods

TryGetParameterValue(string, out object)

Tries to provide a parameter value.

public bool TryGetParameterValue(string name, out object value)

Parameters

name string

The name of a parameter. Nested levels should be separated by colons (':').

value object

The retrieved value, or undefined if the value could not be retrieved.

Returns

bool

true if name is not an empty string and the value was retrieved; otherwise false.

Exceptions

ArgumentNullException

name is null.