Set that a field value must _not_ be the same as another field's value.

Namespace: Castle.Components.Validator
Assembly:  Castle.Components.Validator (in Castle.Components.Validator.dll)
Version: 1.0.3.0

Syntax

C#
void SetAsNotSameAs(
	string target,
	string comparisonFieldName,
	string violationMessage
)

Parameters

target
String
The target name (ie, a hint about the controller being validated)
comparisonFieldName
String
The name of the field to compare with.
violationMessage
String
The violation message.

See Also