C# Class Framework.Mvc.ElementsTypes.Generic.DateAttribute

Date picker attribute.
Inheritance: TextBoxAttribute, IValidatableElement
Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Méthode Description
Render ( HtmlHelper html, String name, String value, String values ) : string

Renders the specified HTML.

Validate ( ModelStateDictionary modelState, string name, string value ) : void

Validates the specified element.

Method Details

Render() public méthode

Renders the specified HTML.
public Render ( HtmlHelper html, String name, String value, String values ) : string
html HtmlHelper The HTML helper.
name String The element name.
value String The element value.
values String The element values.
Résultat string

Validate() public méthode

Validates the specified element.
public Validate ( ModelStateDictionary modelState, string name, string value ) : void
modelState ModelStateDictionary State of the model.
name string The element name.
value string The element value.
Résultat void