C# Class POLConfig.POLConfigElem

Datei anzeigen Open project: polserver/poltools Class Usage Examples

Public Methods

Method Description
AddComment ( string comment ) : void
AddProperty ( string name, string value ) : void
AddProperty ( string name, string value, string comment ) : void
GetConfigFloat ( string property_name ) : double
GetConfigInt ( string property_name ) : int
GetConfigString ( string property_name ) : string
ListConfigElemProps ( ) : string[]
POLConfigElem ( string elem_name ) : System

Method Details

AddComment() public method

public AddComment ( string comment ) : void
comment string
return void

AddProperty() public method

public AddProperty ( string name, string value ) : void
name string
value string
return void

AddProperty() public method

public AddProperty ( string name, string value, string comment ) : void
name string
value string
comment string
return void

GetConfigFloat() public method

public GetConfigFloat ( string property_name ) : double
property_name string
return double

GetConfigInt() public method

public GetConfigInt ( string property_name ) : int
property_name string
return int

GetConfigString() public method

public GetConfigString ( string property_name ) : string
property_name string
return string

ListConfigElemProps() public method

public ListConfigElemProps ( ) : string[]
return string[]

POLConfigElem() public method

public POLConfigElem ( string elem_name ) : System
elem_name string
return System