ModelStateExtensions Class
Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
Methods
Remove<T0, T1>
(ModelStateDictionary, Expression<T0>) Method
Remove<T0, T1> (ModelStateDictionary modelState, Expression<T0> expression)
Remove an item from model state, specified by an expression.
RemovePrefix
(ModelStateDictionary, String) Method
RemovePrefix (ModelStateDictionary modelState, String prefix)
Remove all items with the specifed prefix from model state
ToErrorString
(ModelStateDictionary) Method
ToErrorString (ModelStateDictionary modelState)
Convert a ModelStateDictionary to a comma-separated string, suitable for on-screen display.