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 FilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl) : base(dependencies, dataCtx, parent) { this.Filter = mdl; this._label = mdl.Label; }
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))); }
public RangeFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl) : base(dependencies, dataCtx, parent, mdl) { this.RangeFilter = (RangeFilterModel)mdl; }
public OptionalPredicateFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl) : base(dependencies, dataCtx, parent, mdl) { }
public SingleValueFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl) : base(dependencies, dataCtx, parent, mdl) { }
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)); }