C# Class Framework.Mvc.ElementsTypes.ElementTypeUtility

Contains helpers classes for working with elements.
Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Méthode Description
RenderElementType ( HtmlHelper html, ElementType elementType, String name, String value, String values ) : String

Renders the element by the type.

ValidateElement ( ElementType elementType, String name, String value, ModelStateDictionary modelState ) : void

Validates the element.

Method Details

RenderElementType() public static méthode

Renders the element by the type.
public static RenderElementType ( HtmlHelper html, ElementType elementType, String name, String value, String values ) : String
html HtmlHelper The HTML helper.
elementType ElementType Type of the element.
name String The element name.
value String The element value.
values String The element values.
Résultat String

ValidateElement() public static méthode

Validates the element.
public static ValidateElement ( ElementType elementType, String name, String value, ModelStateDictionary modelState ) : void
elementType ElementType Type of the element.
name String The element name.
value String The element value.
modelState ModelStateDictionary State of the model.
Résultat void