C# Class Framework.Mvc.Extensions.FormCollectionExtensions

Extends functionality of FormCollection class.
Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Méthode Description
BooleanValue ( String formValue ) : bool

Parse boolean value posted throught http-form.

BooleanValue ( this form, String key ) : bool

Parse boolean value posted throught http-form.

IntValue ( this form, String key ) : int

Parse int value posted throught http-form.

Method Details

BooleanValue() public static méthode

Parse boolean value posted throught http-form.
public static BooleanValue ( String formValue ) : bool
formValue String The form value to parse.
Résultat bool

BooleanValue() public static méthode

Parse boolean value posted throught http-form.
public static BooleanValue ( this form, String key ) : bool
form this The form collection instance that this method extends.
key String The posted value key.
Résultat bool

IntValue() public static méthode

Parse int value posted throught http-form.
public static IntValue ( this form, String key ) : int
form this The form collection instance that this method extends.
key String The posted value key.
Résultat int