Table of Contents

Class ConfigurationParameterValueProvider

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

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 (':'). Parameter names are case-insensitive.

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.