C# Class Topshelf.CommandLineParser.SwitchElement

Inheritance: ISwitchElement
Exibir arquivo Open project: phatboyg/Topshelf Class Usage Examples

Public Methods

Method Description
Equals ( SwitchElement other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
New ( char key ) : ICommandLineElement
New ( char key, bool value ) : ICommandLineElement
New ( string key ) : ICommandLineElement
SwitchElement ( char key )
SwitchElement ( string key )
SwitchElement ( string key, bool value )
ToString ( ) : string

Method Details

Equals() public method

public Equals ( SwitchElement other ) : bool
other SwitchElement
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

New() public static method

public static New ( char key ) : ICommandLineElement
key char
return ICommandLineElement

New() public static method

public static New ( char key, bool value ) : ICommandLineElement
key char
value bool
return ICommandLineElement

New() public static method

public static New ( string key ) : ICommandLineElement
key string
return ICommandLineElement

SwitchElement() public method

public SwitchElement ( char key )
key char

SwitchElement() public method

public SwitchElement ( string key )
key string

SwitchElement() public method

public SwitchElement ( string key, bool value )
key string
value bool

ToString() public method

public ToString ( ) : string
return string