Exemplo n.º 1
0
 public FilterListEntryViewModel(IViewModelDependencies appCtx, IZetboxContext dataCtx, FilterListViewModel parent, FilterViewModel vmdl)
     : base(appCtx, dataCtx, parent)
 {
     this.FilterViewModel = vmdl;
 }
Exemplo n.º 2
0
 public static FilterListEntryViewModel Fetch(IViewModelFactory f, IZetboxContext dataCtx, FilterListViewModel parent, FilterViewModel vmdl)
 {
     return (FilterListEntryViewModel)dataCtx.GetViewModelCache(f.PerfCounter).LookupOrCreate(vmdl, () => f.CreateViewModel<FilterListEntryViewModel.Factory>().Invoke(dataCtx, parent, vmdl));
 }