C# Class Orders.com.Web.Api.ModelStateDictionaryExtensions

Show file Open project: peasy/Samples

Public Methods

Method Description
ClearFirst ( this modelState ) : ModelStateDictionary
ThenAddRange ( this modelState, IEnumerable validationResults ) : ModelStateDictionary

Method Details

ClearFirst() public static method

public static ClearFirst ( this modelState ) : ModelStateDictionary
modelState this
return ModelStateDictionary

ThenAddRange() public static method

public static ThenAddRange ( this modelState, IEnumerable validationResults ) : ModelStateDictionary
modelState this
validationResults IEnumerable
return ModelStateDictionary