C# Class MCLawl.CommandList

Show file Open project: dekema2/MCDek Class Usage Examples

Public Properties

Property Type Description
commands List

Public Methods

Method Description
Add ( Command cmd ) : void
AddRange ( List listCommands ) : void
All ( ) : List
CommandList ( ) : System
Contains ( Command cmd ) : bool
Contains ( string name ) : bool
Find ( string name ) : Command
FindShort ( string shortcut ) : string
Remove ( Command cmd ) : bool
commandNames ( ) : List

Method Details

Add() public method

public Add ( Command cmd ) : void
cmd Command
return void

AddRange() public method

public AddRange ( List listCommands ) : void
listCommands List
return void

All() public method

public All ( ) : List
return List

CommandList() public method

public CommandList ( ) : System
return System

Contains() public method

public Contains ( Command cmd ) : bool
cmd Command
return bool

Contains() public method

public Contains ( string name ) : bool
name string
return bool

Find() public method

public Find ( string name ) : Command
name string
return Command

FindShort() public method

public FindShort ( string shortcut ) : string
shortcut string
return string

Remove() public method

public Remove ( Command cmd ) : bool
cmd Command
return bool

commandNames() public method

public commandNames ( ) : List
return List

Property Details

commands public property

public List commands
return List