IParameterValueValidator

Allows the implementation of a class that validates a parameter value.

Namespace:
Inetdev.Parameters
Type:
Interface
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
Yes

Methods

ParseConfig

Process configuration node for this IParameterValueValidator.

Signature:
public Void ParseConfig(config, configNode)
Parameters
Name Type Summary
config ParameterConfiguration Parameter configuration.
configNode XmlNode XML configuration node.

Validate

Checks whether the value is valid for parameter.

Signature:
public Void Validate(parameter, value)
Parameters
Name Type Summary
parameter IParameter The parameter for which the value is beeing validated.
value Object The value to validate.
Exceptions
Type Summary
ParameterValueValidationException Thrown when the value is not valid.

In this document