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
stringThe name of a parameter. Nested levels should be separated by colons (':').
value
objectThe retrieved value, or undefined if the value could not be retrieved.
Returns
Exceptions
- ArgumentNullException
name
is null.