MCLawl.CommandList.Contains C# (CSharp) Method

Contains() public method

public Contains ( Command cmd ) : bool
cmd Command
return bool
        public bool Contains(Command cmd)
        {
            return commands.Contains(cmd);
        }

Same methods

CommandList::Contains ( string name ) : bool

Usage Example

Esempio n. 1
0
 public bool CanExecute(Command cmd)
 {
     return(commands.Contains(cmd));
 }