C# Class Candor.Web.Mvc.ModelStateDictionaryExtension

Extensions for ModelStateDictionary
Afficher le fichier Open project: michael-lang/candor-common

Méthodes publiques

Méthode Description
ToHtmlString ( this modelState ) : String

Converts a model state dictionary into an html formatted string for a custom presentation.

ToJson ( this modelState ) : object

Converts a model state dictionary into a Json response for a custom presentation.

Method Details

ToHtmlString() public static méthode

Converts a model state dictionary into an html formatted string for a custom presentation.
public static ToHtmlString ( this modelState ) : String
modelState this
Résultat String

ToJson() public static méthode

Converts a model state dictionary into a Json response for a custom presentation.
public static ToJson ( this modelState ) : object
modelState this
Résultat object