Method | Description | |
---|---|---|
AddModelError ( this modelState, string key, string errorMessage, string attemptedValue ) : void | ||
FromContext ( this modelState, MappingContext context, bool append = false ) : void | ||
FromDictionary ( this modelState, Dictionary |
public static AddModelError ( this modelState, string key, string errorMessage, string attemptedValue ) : void | ||
modelState | this | |
key | string | |
errorMessage | string | |
attemptedValue | string | |
return | void |
public static FromContext ( this modelState, MappingContext context, bool append = false ) : void | ||
modelState | this | |
context | MappingContext | |
append | bool | |
return | void |
public static FromDictionary ( this modelState, Dictionary |
||
modelState | this | |
errors | Dictionary |
|
form | ||
append | bool | |
return | void |