C# Class Graph.ConsoleMenu

显示文件 Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
AddCommand ( string name, System.Action procedure ) : void
ClearList ( ) : void
ConsoleMenu ( ) : System
ConsoleMenu ( Action>.List menuList ) : System
ContainsNumberCommande ( int index ) : bool
LaunchCommand ( int index ) : void
RemoveCommand ( int index ) : void
Show ( ) : void

Method Details

AddCommand() public method

public AddCommand ( string name, System.Action procedure ) : void
name string
procedure System.Action
return void

ClearList() public method

public ClearList ( ) : void
return void

ConsoleMenu() public method

public ConsoleMenu ( ) : System
return System

ConsoleMenu() public method

public ConsoleMenu ( Action>.List menuList ) : System
menuList Action>.List
return System

ContainsNumberCommande() public method

public ContainsNumberCommande ( int index ) : bool
index int
return bool

LaunchCommand() public method

public LaunchCommand ( int index ) : void
index int
return void

RemoveCommand() public method

public RemoveCommand ( int index ) : void
index int
return void

Show() public method

public Show ( ) : void
return void