public Item(string shortcut, string description, WorkWithUsersCommand command) { Shortcut = shortcut; Description = description; Command = command; }
public void AddItem(string shortcut, string description, WorkWithUsersCommand command) { _items.Add(new Item(shortcut, description, command)); }