예제 #1
0
 public ObjectFinderAppWidget(ObjectFinderAppWidgetModel model, string title, Key key = null) : base(key)
 {
     this.objectInfos = model.objects;
     this.selected    = model.selected;
     this.doSearch    = model.doSearch;
     this.onSelect    = model.onSelect;
     this.title       = title;
 }
예제 #2
0
 public ObjectFinderAppWidget(
     ObjectFinderAppWidgetModel model = null,
     Action <string> doSearch         = null,
     Action <int> onSelect            = null,
     string title = null,
     Key key      = null) : base(key)
 {
     this.objectInfos = model.objects;
     this.selected    = model.selected;
     this.doSearch    = doSearch;
     this.onSelect    = onSelect;
     this.title       = title;
 }