Class ConfigurationServiceItem
An immutable and thread-safe class for representing a configuration setting returned from an IConfigurationService.
Normally only used when implementing a new IConfigurationService.
Implements
Namespace: actionETL.Configuration
Assembly: actionETL.dll
Syntax
public class ConfigurationServiceItem : IConfigurationServiceItem
Constructors
ConfigurationServiceItem(String, String, String)
Initializes a new instance of the ConfigurationServiceItem class.
Declaration
public ConfigurationServiceItem(string name, string applyTo, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Name of the configuration. |
| String | applyTo | What part of the worker hierarchy this configuration applies to. Use |
| String | value | The value as a string. |
Properties
ApplyTo
Gets what part of the worker hierarchy this configuration applies to.
null or an empty string represent a value that applies globally.
This property is thread-safe.
Declaration
public string ApplyTo { get; }
Property Value
| Type | Description |
|---|---|
| String |
Name
Gets the name of the configuration.
This property is thread-safe.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Value
Gets the value of the configuration.
This property is thread-safe.
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
ToString()
Returns a String that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |