Property | Type | Description | |
---|---|---|---|
INVALID_EMAIL | string | ||
INVALID_EMAIL_DOMAIN | string | ||
INVALID_FORMAT | string | ||
LIST_MUST_NOT_BE_EMPTY | string | ||
MUST_BE_GREATER_OR_EQUAL_TO_ZERO | string | ||
MUST_BE_GREATER_THAN_ZERO | string | ||
MUST_BE_TRUE | string | ||
REQUIRED_FIELD | string | ||
SYSTEM_FAILURE | string |
Method | Description | |
---|---|---|
AddChild ( string propertyName, INotification notification ) : void | ||
AliasFieldInMessages ( string fieldName, string alias ) : void | ||
AssertValid ( ) : void | ||
Flatten ( ) : |
||
ForEachField ( Action |
||
GetChild ( string propertyName ) : INotification | ||
GetMessages ( string fieldName ) : SweetVids.Core.Validation.NotificationMessage[] | ||
HasMessage ( string fieldName, string messageText ) : bool | ||
Include ( |
||
Invalid ( ) : |
||
IsTopLevelValid ( ) : bool | ||
IsValid ( ) : bool | ||
IsValid ( string fieldName ) : bool | ||
MessagesFor ( string fieldName ) : |
||
RegisterMessage ( string fieldName, string message, Severity severity ) : |
||
Valid ( ) : |
||
addMessages ( StringBuilder sb ) : void | ||
gather ( List |
public AddChild ( string propertyName, INotification notification ) : void | ||
propertyName | string | |
notification | INotification | |
return | void |
public AliasFieldInMessages ( string fieldName, string alias ) : void | ||
fieldName | string | |
alias | string | |
return | void |
public GetChild ( string propertyName ) : INotification | ||
propertyName | string | |
return | INotification |
public GetMessages ( string fieldName ) : SweetVids.Core.Validation.NotificationMessage[] | ||
fieldName | string | |
return | SweetVids.Core.Validation.NotificationMessage[] |
public HasMessage ( string fieldName, string messageText ) : bool | ||
fieldName | string | |
messageText | string | |
return | bool |
public MessagesFor ( string fieldName ) : |
||
fieldName | string | |
return |
public RegisterMessage ( string fieldName, string message, Severity severity ) : |
||
fieldName | string | |
message | string | |
severity | Severity | |
return |
public addMessages ( StringBuilder sb ) : void | ||
sb | StringBuilder | |
return | void |
public static string LIST_MUST_NOT_BE_EMPTY | ||
return | string |
public static string MUST_BE_GREATER_OR_EQUAL_TO_ZERO | ||
return | string |
public static string MUST_BE_GREATER_THAN_ZERO | ||
return | string |