C# Class MvcArch.Core.Extensions.ModelStateDictionaryExtensions

Afficher le fichier Open project: fmichellonet/MVCArch

Méthodes publiques

Méthode Description
MergeWithBusinessException ( this modelState, BusinessRuleException ex ) : ModelStateDictionary
MergeWithValidatableObject ( this modelState, IValidatableObject obj ) : ModelStateDictionary

Method Details

MergeWithBusinessException() public static méthode

public static MergeWithBusinessException ( this modelState, BusinessRuleException ex ) : ModelStateDictionary
modelState this
ex BusinessRuleException
Résultat ModelStateDictionary

MergeWithValidatableObject() public static méthode

public static MergeWithValidatableObject ( this modelState, IValidatableObject obj ) : ModelStateDictionary
modelState this
obj IValidatableObject
Résultat ModelStateDictionary