public PageConfiguration(HelpConfiguration help, HelpConfiguration help2, IEnumerable <CommandBinding> commandBindings, IEnumerable <MenuItemConfiguration> items) { Help = help; Help2 = help2; CommandBindings = commandBindings?.ToList() ?? new List <CommandBinding>(0); Items = items?.ToList() ?? new List <MenuItemConfiguration>(0); }
public MenuConfiguration( string name, HelpConfiguration help, HelpConfiguration help2, IEnumerable <CommandBinding> commandBindings, IEnumerable <PageConfiguration> pages) { Name = name; Help = help; Help2 = help2; CommandBindings = commandBindings?.ToList() ?? new List <CommandBinding>(0); Pages = pages?.ToList() ?? new List <PageConfiguration>(0); }
public MenuItemConfiguration( string name, IEnumerable <Token> icon, string text, IEnumerable <CommandBinding> commandBindings, HelpConfiguration help, HelpConfiguration help2) { Name = name; Icon = icon?.ToList() ?? new List <Token>(0); Text = text; CommandBindings = commandBindings?.ToList() ?? new List <CommandBinding>(0); Help = help; Help2 = help2; }