Table of Contents

Class ConfigurationParameterValueProvider

Namespace
Acuit.Pinpoint.Workflows.Testing.Parameters
Assembly
Acuit.Pinpoint.Workflows.Testing.dll
public class ConfigurationParameterValueProvider : IParameterValueProvider
Inheritance
ConfigurationParameterValueProvider
Implements
Inherited Members

Constructors

ConfigurationParameterValueProvider(IConfiguration)

public ConfigurationParameterValueProvider(IConfiguration configuration)

Parameters

configuration IConfiguration

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.