C# Class Encog.Util.ParamsHolder

Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
GetBoolean ( String name, bool required, bool defaultValue ) : bool

Get a param as a boolean.

GetDouble ( String name, bool required, double defaultValue ) : double

Get a param as a double.

GetInt ( String name, bool required, int defaultValue ) : int

Get a param as a integer.

GetString ( String name, bool required, String defaultValue ) : String

Get a param as a string.

ParamsHolder ( String>.IDictionary theParams ) : System

Construct the object. Allow the format to be specified.

ParamsHolder ( String>.IDictionary theParams, CSVFormat theFormat ) : System

Construct the object. Allow the format to be specified.

Method Details

GetBoolean() public méthode

Get a param as a boolean.
public GetBoolean ( String name, bool required, bool defaultValue ) : bool
name String The name of the double.
required bool True if this value is required.
defaultValue bool The default value.
Résultat bool

GetDouble() public méthode

Get a param as a double.
public GetDouble ( String name, bool required, double defaultValue ) : double
name String The name of the double.
required bool True if this value is required.
defaultValue double The default value.
Résultat double

GetInt() public méthode

Get a param as a integer.
public GetInt ( String name, bool required, int defaultValue ) : int
name String The name of the integer.
required bool True if this value is required.
defaultValue int The default value.
Résultat int

GetString() public méthode

Get a param as a string.
public GetString ( String name, bool required, String defaultValue ) : String
name String The name of the string.
required bool True if this value is required.
defaultValue String The default value.
Résultat String

ParamsHolder() public méthode

Construct the object. Allow the format to be specified.
public ParamsHolder ( String>.IDictionary theParams ) : System
theParams String>.IDictionary The params to be used.
Résultat System

ParamsHolder() public méthode

Construct the object. Allow the format to be specified.
public ParamsHolder ( String>.IDictionary theParams, CSVFormat theFormat ) : System
theParams String>.IDictionary The params to be used.
theFormat Encog.Util.CSV.CSVFormat The format to be used.
Résultat System