public DateRangeFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent, mdl)
 {
     this.RangeFilter = (DateRangeFilterModel)mdl;
     InitializeFromRange();
     Arguments[0].IsReadOnly = true;
     Arguments[1].IsReadOnly = true;
 }
Exemple #2
0
 public FilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent)
 {
     this.Filter = mdl;
     this._label = mdl.Label;
 }
Exemple #3
0
 public static FilterViewModel Fetch(IViewModelFactory f, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
 {
     return((FilterViewModel)dataCtx.GetViewModelCache(f.PerfCounter).LookupOrCreate(mdl, () => f.CreateViewModel <FilterViewModel.Factory>(mdl.ViewModelType).Invoke(dataCtx, parent, mdl)));
 }
Exemple #4
0
 public RangeFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent, mdl)
 {
     this.RangeFilter = (RangeFilterModel)mdl;
 }
Exemple #5
0
 public OptionalPredicateFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent, mdl)
 {
 }
 public RangeFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent, mdl)
 {
     this.RangeFilter = (RangeFilterModel)mdl;
 }
Exemple #7
0
 public SingleValueFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent, mdl)
 {
 }
Exemple #8
0
 public FilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent)
 {
     this.Filter = mdl;
     this._label = mdl.Label;
 }
Exemple #9
0
 public static FilterViewModel Fetch(IViewModelFactory f, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
 {
     return (FilterViewModel)dataCtx.GetViewModelCache(f.PerfCounter).LookupOrCreate(mdl, () => f.CreateViewModel<FilterViewModel.Factory>(mdl.ViewModelType).Invoke(dataCtx, parent, mdl));
 }
Exemple #10
0
 public DateRangeFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent, mdl)
 {
     this.RangeFilter = (DateRangeFilterModel)mdl;
     InitializeFromRange();
     Arguments[0].IsReadOnly = true;
     Arguments[1].IsReadOnly = true;
 }
 public SingleValueFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent, mdl)
 {
 }
 public OptionalPredicateFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
     : base(dependencies, dataCtx, parent, mdl)
 {
 }