Sets that a field value must be a valid email address.

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

Syntax

C#
void SetEmail(
	string target,
	string violationMessage
)

Parameters

target
String
The target name (ie, a hint about the controller being validated)
violationMessage
String
The violation message.

See Also