C# 클래스 DataServer.Model

상속: Caliburn.Micro.PropertyChangedBase, IConvertibleXml
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Clone Model

공개 메소드들

메소드 설명
FromXml ( System.Xml.Linq.XElement el ) : void
GetBoolean ( string name, bool defaultValue ) : bool

Return the boolean value belonging to the InputParameter.

GetColor ( string name, Color defaultColor ) : Color

Return the color belonging to the InputParameter.

GetColorFromName ( string name, Color defaultColor ) : Color

Return the color belonging to the InputParameter.

GetDouble ( string name, double defaultValue ) : double

Return the double value belonging to the InputParameter. Tries to parse the double using the invariant culture and the Dutch culture (i.e. using comma)

GetInt ( string name, int defaultValue ) : int

Return the integer value belonging to the InputParameter.

GetString ( string name ) : string

Return the string belonging to the InputParameter.

ToXml ( ) : System.Xml.Linq.XElement

비공개 메소드들

메소드 설명
Clone ( ) : Model

메소드 상세

FromXml() 공개 메소드

public FromXml ( System.Xml.Linq.XElement el ) : void
el System.Xml.Linq.XElement
리턴 void

GetBoolean() 공개 메소드

Return the boolean value belonging to the InputParameter.
public GetBoolean ( string name, bool defaultValue ) : bool
name string Name of the InputParameter
defaultValue bool Default integer value
리턴 bool

GetColor() 공개 메소드

Return the color belonging to the InputParameter.
public GetColor ( string name, Color defaultColor ) : Color
name string Name of the InputParameter
defaultColor Color Default color value
리턴 Color

GetColorFromName() 공개 메소드

Return the color belonging to the InputParameter.
public GetColorFromName ( string name, Color defaultColor ) : Color
name string Name of the InputParameter
defaultColor Color Default color value
리턴 Color

GetDouble() 공개 메소드

Return the double value belonging to the InputParameter. Tries to parse the double using the invariant culture and the Dutch culture (i.e. using comma)
public GetDouble ( string name, double defaultValue ) : double
name string Name of the InputParameter
defaultValue double Default double value
리턴 double

GetInt() 공개 메소드

Return the integer value belonging to the InputParameter.
public GetInt ( string name, int defaultValue ) : int
name string Name of the InputParameter
defaultValue int Default integer value
리턴 int

GetString() 공개 메소드

Return the string belonging to the InputParameter.
public GetString ( string name ) : string
name string Name of the InputParameter
리턴 string

ToXml() 공개 메소드

public ToXml ( ) : System.Xml.Linq.XElement
리턴 System.Xml.Linq.XElement