StaticParameterOptionsProvider

Implements an IParameterOptionsProvider that reads the options from the parameter Xml configuration document. To configure, add <option value="" text="" />s to the optionsProvider node.

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

Constructors

StaticParameterOptionsProvider

Default constructor

Signature:
public Void StaticParameterOptionsProvider()

Methods

GetOptions

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

Signature:
public IList GetOptions()
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.