C# Class ExoWeb.Templates.HtmlHelpers

Afficher le fichier Open project: vc3/ExoWeb

Méthodes publiques

Méthode Description
IsBooleanAttribute ( string attribute, string tagName ) : bool
IsBooleanAttribute ( string attribute, string tagName, string inputType ) : bool
IsBooleanAttribute ( string attribute, string tagName, string inputType, bool requireInputTypeMatch ) : bool

Returns a value indicating whether the given attribute for the given tag name corresponds to a boolean attribute. http://stackoverflow.com/a/707702/170990

Private Methods

Méthode Description
IsSelfClosing ( string tag ) : bool

Determines whether the given tag can close itself, i.e. [tag /] in place of [tag][/tag].

Method Details

IsBooleanAttribute() public static méthode

public static IsBooleanAttribute ( string attribute, string tagName ) : bool
attribute string
tagName string
Résultat bool

IsBooleanAttribute() public static méthode

public static IsBooleanAttribute ( string attribute, string tagName, string inputType ) : bool
attribute string
tagName string
inputType string
Résultat bool

IsBooleanAttribute() public static méthode

Returns a value indicating whether the given attribute for the given tag name corresponds to a boolean attribute. http://stackoverflow.com/a/707702/170990
public static IsBooleanAttribute ( string attribute, string tagName, string inputType, bool requireInputTypeMatch ) : bool
attribute string
tagName string
inputType string
requireInputTypeMatch bool
Résultat bool