コード例 #1
0
 public void AddItem(string text, string description, bool boolean)
 {
     MenuEntryValueItem item = new MenuEntryValueItem()
     {
         text = text,
         description = description,
         type = MenuEntryValueItemTypes.Boolean,
         BooleanValue = boolean,
     };
     AddItem(item);
 }
コード例 #2
0
 public void AddItem(string text, string description)
 {
     MenuEntryValueItem item = new MenuEntryValueItem()
     {
         text = text,
         description = description,
         type = MenuEntryValueItemTypes.Text,
     };
     AddItem(item);
 }
コード例 #3
0
 public void AddItem(MenuEntryValueItem item)
 {
     Values.Add(item);
 }
コード例 #4
0
 public void AddItem(string text, string description, int index)
 {
     MenuEntryValueItem item = new MenuEntryValueItem()
     {
         text = text,
         description = description,
         type = MenuEntryValueItemTypes.Index,
         IndexValue = index,
     };
     AddItem(item);
 }