Beispiel #1
0
 public Command ByExactName(string name, bool ignoreCase)
 {
     return(AllVsIdeCommands.First(c => String.Compare(name, c.Name, ignoreCase) == 0));
 }
Beispiel #2
0
 public CommandCollection(Func <Command, bool> commandFilter)
 {
     _CommandList = new List <Command>(AllVsIdeCommands.Where(commandFilter));
 }