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