Allows the implementation of a class that validates a parameter value.
Process configuration node for this IParameterValueValidator.
public Void ParseConfig(config, configNode)
Name | Type | Summary |
---|---|---|
config | ParameterConfiguration | Parameter configuration. |
configNode | XmlNode | XML configuration node. |
Checks whether the value is valid for parameter.
public Void Validate(parameter, value)
Name | Type | Summary |
---|---|---|
parameter | IParameter | The parameter for which the value is beeing validated. |
value | Object | The value to validate. |
Type | Summary |
---|---|
ParameterValueValidationException | Thrown when the value is not valid. |
In this document