public void AddCommand(Type type, ConfigurationUICommand command) { if (!list.ContainsKey(type)) { list.Add(type, new List<ConfigurationUICommand>()); } List<ConfigurationUICommand> cmdList = list[type]; cmdList.Add(command); }
public void RemoveCommand(Type type, ConfigurationUICommand command) { }