public CommandController()//List<TemplateCommand> templates) { commandsList = new DefaultCommandsList(); descriptor = new Descriptor(commandsList); //if (templates == null) // return; //foreach (var element in templates) // commandsList.TryAddCommand(element, (byte)((int)commandsList.GetMaxByte() + 1)); }
public Descriptor(DefaultCommandsList list) { commandList = list; }