StaticParameterOptionsProvider

Implements an IParameterOptionsProvider that reads the options from the parameter Xml configuration document. To configure, add

Namespace:
Inetdev.Parameters
Type:
Class
Public:
Yes
Protected:
No
Sealed:
Yes
Abstract:
No
Inherits from:
System.Object
Implements:
Inetdev.Parameters.IParameterOptionsProvider

Constructors

StaticParameterOptionsProvider

Default constructor

Signature:
public Void StaticParameterOptionsProvider()

Methods

GetOptionsAsync

Returns a list of options for the parameter this provider belong to.

Signature:
public Task GetOptionsAsync()
Returns

A collection of valid options for the specified parameter.

ParseConfig

Process configuration node for this IParameterOptionsProvider.

Signature:
public Void ParseConfig(config, configNode)
Parameters
Name Type Summary
config ParameterConfiguration Parameter configuration.
configNode XmlNode XML configuration node.
Exceptions
Type Summary
ArgumentNullException Thrown when config is null.
ArgumentNullException Thrown when configNode is null.