Table of Contents

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

string

Methods

DeserializeModelState(string)

protected static ModelStateDictionary DeserializeModelState(string serialisedErrorList)

Parameters

serialisedErrorList string

Returns

ModelStateDictionary

SerialiseModelState(ModelStateDictionary)

protected static string SerialiseModelState(ModelStateDictionary modelState)

Parameters

modelState ModelStateDictionary

Returns

string