C# Class DeveloperCommands.Util

Datei anzeigen Open project: TheBerkin/Devcom

Public Methods

Method Description
ChangeType ( object obj, Type convertType ) : object
Decrement ( object &o ) : bool
GetConvarValue ( string name, string cat ) : string
Increment ( object &o ) : bool
IsNumericType ( object o ) : bool
IsValidName ( string name, string otherChars = "_-+" ) : bool
Qualify ( string cat, string cmdName ) : string

Private Methods

Method Description
CacheEnum ( Type enumType ) : void

Method Details

ChangeType() public static method

public static ChangeType ( object obj, Type convertType ) : object
obj object
convertType System.Type
return object

Decrement() public static method

public static Decrement ( object &o ) : bool
o object
return bool

GetConvarValue() public static method

public static GetConvarValue ( string name, string cat ) : string
name string
cat string
return string

Increment() public static method

public static Increment ( object &o ) : bool
o object
return bool

IsNumericType() public static method

public static IsNumericType ( object o ) : bool
o object
return bool

IsValidName() public static method

public static IsValidName ( string name, string otherChars = "_-+" ) : bool
name string
otherChars string
return bool

Qualify() public static method

public static Qualify ( string cat, string cmdName ) : string
cat string
cmdName string
return string