public void AddItem(string text, string description, bool boolean) { MenuEntryValueItem item = new MenuEntryValueItem() { text = text, description = description, type = MenuEntryValueItemTypes.Boolean, BooleanValue = boolean, }; AddItem(item); }
public void AddItem(string text, string description) { MenuEntryValueItem item = new MenuEntryValueItem() { text = text, description = description, type = MenuEntryValueItemTypes.Text, }; AddItem(item); }
public void AddItem(MenuEntryValueItem item) { Values.Add(item); }
public void AddItem(string text, string description, int index) { MenuEntryValueItem item = new MenuEntryValueItem() { text = text, description = description, type = MenuEntryValueItemTypes.Index, IndexValue = index, }; AddItem(item); }