C# Class MvcArch.Core.Extensions.ModelStateDictionaryExtensions

ファイルを表示 Open project: fmichellonet/MVCArch

Public Methods

Method Description
MergeWithBusinessException ( this modelState, BusinessRuleException ex ) : ModelStateDictionary
MergeWithValidatableObject ( this modelState, IValidatableObject obj ) : ModelStateDictionary

Method Details

MergeWithBusinessException() public static method

public static MergeWithBusinessException ( this modelState, BusinessRuleException ex ) : ModelStateDictionary
modelState this
ex BusinessRuleException
return ModelStateDictionary

MergeWithValidatableObject() public static method

public static MergeWithValidatableObject ( this modelState, IValidatableObject obj ) : ModelStateDictionary
modelState this
obj IValidatableObject
return ModelStateDictionary