MCLawl.CommandList.Contains C# (CSharp) Méthode

Contains() public méthode

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

Same methods

CommandList::Contains ( string name ) : bool

Usage Example

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