C# Class Total.CLI.cli

Datei anzeigen Open project: schubergphilis/TotalCLI

Public Methods

Method Description
AddDefinition ( string Definition ) : void
AddRule ( string Rule ) : void
GetValue ( string Switch ) : string
IsNegated ( string Switch ) : bool
IsPresent ( string Switch ) : bool
LoadDefinitions ( ) : void
SetSSecretMarker ( char Marker = '#' ) : void
SetSwitchIdentifier ( string Identifier = "/" ) : void

Private Methods

Method Description
CheckDebugState ( ) : void
ReadPassword ( ) : string
ShowCLIdetails ( cliDataSet cli ) : void
WriteDebugLevel1 ( string Message ) : void
WriteDebugLevel2 ( string Message ) : void
WriteDebugLevel3 ( string Message ) : void
WriteError ( string Message ) : void
WriteWarning ( string Message ) : void

Method Details

AddDefinition() public static method

public static AddDefinition ( string Definition ) : void
Definition string
return void

AddRule() public static method

public static AddRule ( string Rule ) : void
Rule string
return void

GetValue() public static method

public static GetValue ( string Switch ) : string
Switch string
return string

IsNegated() public static method

public static IsNegated ( string Switch ) : bool
Switch string
return bool

IsPresent() public static method

public static IsPresent ( string Switch ) : bool
Switch string
return bool

LoadDefinitions() public static method

public static LoadDefinitions ( ) : void
return void

SetSSecretMarker() public static method

public static SetSSecretMarker ( char Marker = '#' ) : void
Marker char
return void

SetSwitchIdentifier() public static method

public static SetSwitchIdentifier ( string Identifier = "/" ) : void
Identifier string
return void