MCLawl.CommandList.Contains C# (CSharp) 메소드

Contains() 공개 메소드

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

Same methods

CommandList::Contains ( string name ) : bool

Usage Example

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