C# Class Nini.Config.AliasText

显示文件 Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Public Methods

Method Description
AddAlias ( string key, Enum enumAlias ) : void
AddAlias ( string alias, bool value ) : void
AddAlias ( string key, string alias, int value ) : void
AliasText ( ) : System
ContainsBoolean ( string key ) : bool
ContainsInt ( string key, string alias ) : bool
GetBoolean ( string key ) : bool
GetInt ( string key, string alias ) : int

Private Methods

Method Description
DefaultAliasLoad ( ) : void

Loads the default alias values.

InsensitiveHashtable ( ) : Hashtable

Returns a case insensitive hashtable.

SetAliasTypes ( string key, Enum enumAlias ) : void

Extracts and sets the alias types from an enumeration.

Method Details

AddAlias() public method

public AddAlias ( string key, Enum enumAlias ) : void
key string
enumAlias System.Enum
return void

AddAlias() public method

public AddAlias ( string alias, bool value ) : void
alias string
value bool
return void

AddAlias() public method

public AddAlias ( string key, string alias, int value ) : void
key string
alias string
value int
return void

AliasText() public method

public AliasText ( ) : System
return System

ContainsBoolean() public method

public ContainsBoolean ( string key ) : bool
key string
return bool

ContainsInt() public method

public ContainsInt ( string key, string alias ) : bool
key string
alias string
return bool

GetBoolean() public method

public GetBoolean ( string key ) : bool
key string
return bool

GetInt() public method

public GetInt ( string key, string alias ) : int
key string
alias string
return int