Property | Type | Description | |
---|---|---|---|
AddError | void |
Method | Description | |
---|---|---|
AddErrors ( CommandRejection[]>.IDictionary |
||
AreEqual ( string value, string key, string otherValue ) : void | ||
CommandValidator ( bool throwIfErrorsOnDispose = true ) : System | ||
Dispose ( ) : void | ||
EmailOrPhone ( string emailOrPhone, string key ) : void | ||
HasError ( string key, CommandRejectionReason reason ) : bool | ||
IsAvailable ( string value, string key, Func |
||
Length ( string value, string key, int minLength, int maxLength ) : void | ||
LoggedOff ( IIdentity value, string key ) : void | ||
NotEmpty ( System.Guid value, string key ) : void | ||
NotEmpty ( string value, string key ) : void | ||
NotNull ( object value, string key ) : void | ||
NotPhoneNumber ( string possiblePhoneNumber, string key ) : void | ||
OnlyCharacters ( string value, string key, string allowedCharacters, bool ignoreCase = true ) : void |
Method | Description | |
---|---|---|
AddError ( string key, object value, CommandRejectionReason reason, object data = null ) : void |
public AddErrors ( CommandRejection[]>.IDictionary |
||
errors | CommandRejection[]>.IDictionary | |
return | void |
public AreEqual ( string value, string key, string otherValue ) : void | ||
value | string | |
key | string | |
otherValue | string | |
return | void |
public CommandValidator ( bool throwIfErrorsOnDispose = true ) : System | ||
throwIfErrorsOnDispose | bool | |
return | System |
public EmailOrPhone ( string emailOrPhone, string key ) : void | ||
emailOrPhone | string | |
key | string | |
return | void |
public HasError ( string key, CommandRejectionReason reason ) : bool | ||
key | string | |
reason | CommandRejectionReason | |
return | bool |
public IsAvailable ( string value, string key, Func |
||
value | string | |
key | string | |
isAvailable | Func |
|
return | void |
public Length ( string value, string key, int minLength, int maxLength ) : void | ||
value | string | |
key | string | |
minLength | int | |
maxLength | int | |
return | void |
public LoggedOff ( IIdentity value, string key ) : void | ||
value | IIdentity | |
key | string | |
return | void |
public NotEmpty ( System.Guid value, string key ) : void | ||
value | System.Guid | |
key | string | |
return | void |
public NotEmpty ( string value, string key ) : void | ||
value | string | |
key | string | |
return | void |
public NotNull ( object value, string key ) : void | ||
value | object | |
key | string | |
return | void |
public NotPhoneNumber ( string possiblePhoneNumber, string key ) : void | ||
possiblePhoneNumber | string | |
key | string | |
return | void |
public OnlyCharacters ( string value, string key, string allowedCharacters, bool ignoreCase = true ) : void | ||
value | string | |
key | string | |
allowedCharacters | string | |
ignoreCase | bool | |
return | void |