ParameterConfigurationService

Implements a service that scans the application packages for parameter configuration and construct a parameter configuration tree.

Namespace:
KpokPatagon.Parameters
Type:
Class
Public:
Yes
Protected:
No
Sealed:
Yes
Abstract:
No
Implements:
KpokPatagon.Parameters.IParameterConfigurationService

Constructors

ParameterConfigurationService

Initializes a new instance of ParameterConfigurationService.

Signature:
public Void ParameterConfigurationService(serviceProvider)
Parameters
Name Type Summary
serviceProvider IServiceProvider

Methods

BuildParameterTree

Builds a parameter configuration tree.

Signature:
public IParameterTreeNode BuildParameterTree()
Exceptions
Type Summary
ParameterConfigurationException Thrown when there are errors while building the tree.

GetParameterNames

Gets a collection of all parameter names.

Signature:
public IList GetParameterNames()

GetParameterNames

Gets a collection of all parameter names for the specifed group.

Signature:
public IList GetParameterNames(groupName)
Parameters
Name Type Summary
groupName String Name of the group from where to start collecting parameter names.

GetParameterNamesAsync

Gets a collection of all parameter names.

Signature:
public Task GetParameterNamesAsync()

GetParameterNamesAsync

Gets a collection of all parameter names for the specifed group.

Signature:
public Task GetParameterNamesAsync(groupName)
Parameters
Name Type Summary
groupName String Name of the group from where to start collecting parameter names.