Class ModelStateFilterAttribute
- Namespace
- JJMasterData.Web.Filters
- Assembly
- JJMasterData.Web.dll
public abstract class ModelStateFilterAttribute : ActionFilterAttribute, IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter, IOrderedFilter, IFilterMetadata
- Inheritance
-
ModelStateFilterAttribute
- Implements
- Derived
- Inherited Members
Fields
Key
protected const string Key = "ModelStateErrors"
Field Value
Methods
DeserializeModelState(string)
protected static ModelStateDictionary DeserializeModelState(string serialisedErrorList)
Parameters
serialisedErrorList
string
Returns
SerialiseModelState(ModelStateDictionary)
protected static string SerialiseModelState(ModelStateDictionary modelState)
Parameters
modelState
ModelStateDictionary