C# Class MvcContrib.Samples.UI.Views.RequiredBehavior

Behavior implementation that adds "class='required'" to form elements if the corresponding model property is decorated with a Required attribute.
Inheritance: IMemberBehavior
Afficher le fichier Open project: atomicobject/mvccontrib

Méthodes publiques

Méthode Description
Execute ( IMemberElement element ) : void

Method Details

Execute() public méthode

public Execute ( IMemberElement element ) : void
element IMemberElement
Résultat void