C# 클래스 Encog.Util.ParamsHolder

파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

GetBoolean() 공개 메소드

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.
리턴 bool

GetDouble() 공개 메소드

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.
리턴 double

GetInt() 공개 메소드

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.
리턴 int

GetString() 공개 메소드

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.
리턴 String

ParamsHolder() 공개 메소드

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

ParamsHolder() 공개 메소드

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.
리턴 System