C# Class Octopus.Client.Model.Forms.FormExtensions

Afficher le fichier Open project: OctopusDeploy/Octo.exe

Méthodes publiques

Méthode Description
AddElement ( this form, string name, Control element, string initialValue = null, bool isValueRequired = false ) : void
GetCoercedValue ( this form, string name ) : object
SetValue ( this form, string name, string value ) : void
UpdateValues ( this form, string>.IDictionary values ) : void
Validate ( this form ) : IList

Private Methods

Méthode Description
GetElement ( this form, string name ) : FormElement
GetRawValue ( this form, string name ) : string

Method Details

AddElement() public static méthode

public static AddElement ( this form, string name, Control element, string initialValue = null, bool isValueRequired = false ) : void
form this
name string
element Control
initialValue string
isValueRequired bool
Résultat void

GetCoercedValue() public static méthode

public static GetCoercedValue ( this form, string name ) : object
form this
name string
Résultat object

SetValue() public static méthode

public static SetValue ( this form, string name, string value ) : void
form this
name string
value string
Résultat void

UpdateValues() public static méthode

public static UpdateValues ( this form, string>.IDictionary values ) : void
form this
values string>.IDictionary
Résultat void

Validate() public static méthode

public static Validate ( this form ) : IList
form this
Résultat IList