예제 #1
0
 public ClaimSearchModel(IDelayedEvent<SelectedRowChangedEventArgs> timer)
 {
     this._timer = timer;
     this.NeedDataCommand = new DelegateCommand<XIAPGridNeedDataEventArgs>((arg) => InvokeEvent<SearchDataRequestEventArgs>(this.NeedData, this.BuildSearchRequestEventArgs(arg)));
     this.Refresh = new DelegateCommand<object>(this.DoRefresh, (c) => { return !this.IsBusy; });
     this.SelectionChangedCommand = new DelegateCommand<IList>(rows => this.BeginDelayedEvent(rows));
     this._completedHandler = (sender, e) => InvokeEvent<SelectedRowChangedEventArgs>(this.SelectedRowChanged, e);
     this._timer.Completed += this._completedHandler;
 }
예제 #2
0
 public AXASearchResultsModel(IDelayedEvent<SelectedRowChangedEventArgs> timer, AppModel appModel)
     : base(timer, appModel)
 {
     this._appModel = appModel;
 }