Пример #1
0
 // convenience cstr
 public HeadingDisplayItem(string data, IDisplayItemTheme theme = null)
 {
     Data = new List <string> {
         data
     };
     Theme = theme ?? Theme;
 }
Пример #2
0
 // convenience cstr
 public SearchDisplayItem(string data1, string data2, Action executeAction, IDisplayItemTheme theme = null)
 {
     Data = new List <string> {
         data1, data2
     };
     ExecuteAction = executeAction;
     Theme         = theme ?? Theme;
 }
Пример #3
0
 public HeadingDisplayItem(IEnumerable <string> data, IDisplayItemTheme theme = null)
 {
     Data  = data;
     Theme = theme ?? Theme;
 }
Пример #4
0
 public SearchDisplayItem(IEnumerable <string> data, Action executeAction, IDisplayItemTheme theme = null)
 {
     Data          = data;
     ExecuteAction = executeAction;
     Theme         = theme ?? Theme;
 }