C# Class Encog.Util.ParamsHolder

ファイルを表示 Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method 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 method

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.
return bool

GetDouble() public method

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.
return double

GetInt() public method

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.
return int

GetString() public method

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.
return String

ParamsHolder() public method

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

ParamsHolder() public method

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.
return System