protected DataVirtualizingCollectionViewModelBaseBase( // parameters IBackendAccessAdapter <TViewModel> backendAccessAdapter, // dependencies IGeneralOptionsViewModel generalOptionsViewModel, IPageLoadingBehaviorViewModel pageLoadingBehaviorViewModel, IPageRemovalBehaviorViewModel pageRemovalBehaviorViewModel, IFetcherKindViewModelInternal fetcherKindViewModel, IGeneralFunctionsViewModel generalFunctionsViewModel, IGetSchedulers getSchedulers) { _backendAccessAdapter = backendAccessAdapter; _getSchedulers = getSchedulers; GeneralOptionsViewModel = generalOptionsViewModel; PageLoadingBehaviorViewModel = pageLoadingBehaviorViewModel; PageRemovalBehaviorViewModel = pageRemovalBehaviorViewModel; FetcherKindViewModel = fetcherKindViewModel; GeneralFunctionsViewModel = generalFunctionsViewModel; IndexAccessBehaviorViewModel = fetcherKindViewModel.IndexAccessBehaviorViewModel; _serialItems = new SerialDisposable(); _compositeDisposable.Add(_serialItems); var createNew = new RxRelayCommand(SetItems); CreateNew = createNew; _compositeDisposable.Add(createNew); }
public SlidingWindowViewModel( // parameters IBackendAccessAdapter <TViewModel> backendAccessAdapter, // dependencies IGeneralOptionsViewModel generalOptionsViewModel, ISlidingWindowOptionsViewModel slidingWindowOptionsViewModel, IPageLoadingBehaviorViewModel pageLoadingBehaviorViewModel, IPageRemovalBehaviorViewModel pageRemovalBehaviorViewModel, IFetcherKindViewModelInternal fetcherKindViewModel, IGeneralFunctionsViewModel generalFunctionsViewModel, ISlidingWindowFunctionsViewModel slidingWindowFunctionsViewModel, IGetSchedulers getSchedulers) : base( backendAccessAdapter, generalOptionsViewModel, pageLoadingBehaviorViewModel, pageRemovalBehaviorViewModel, fetcherKindViewModel, generalFunctionsViewModel, getSchedulers) { _slidingWindowOptionsViewModel = slidingWindowOptionsViewModel; SpecificFunctionsViewModel = slidingWindowFunctionsViewModel; }
public DataVirtualizingCollectionViewModelFactory( IGeneralOptionsViewModel generalOptionsViewModel, ISlidingWindowOptionsViewModel slidingWindowOptionsViewModel, IPageLoadingBehaviorViewModel pageLoadingBehaviorViewModel, IPageRemovalBehaviorViewModel pageRemovalBehaviorViewModel, IFetcherKindViewModelInternal fetcherKindViewModel, IGeneralFunctionsViewModel generalFunctionsViewModel, ISlidingWindowFunctionsViewModel slidingWindowFunctionsViewModel, IGetSchedulers getSchedulers, CompositeDisposable compositeDisposableOfLifetimeScope) { _generalOptionsViewModel = generalOptionsViewModel; _slidingWindowOptionsViewModel = slidingWindowOptionsViewModel; _pageLoadingBehaviorViewModel = pageLoadingBehaviorViewModel; _pageRemovalBehaviorViewModel = pageRemovalBehaviorViewModel; _fetcherKindViewModel = fetcherKindViewModel; _generalFunctionsViewModel = generalFunctionsViewModel; _slidingWindowFunctionsViewModel = slidingWindowFunctionsViewModel; _getSchedulers = getSchedulers; _compositeDisposableOfLifetimeScope = compositeDisposableOfLifetimeScope; }
public DataVirtualizingCollectionViewModel( // parameters IBackendAccessAdapter <TViewModel> backendAccessAdapter, // dependencies IGeneralOptionsViewModel generalOptionsViewModel, IPageLoadingBehaviorViewModel pageLoadingBehaviorViewModel, IPageRemovalBehaviorViewModel pageRemovalBehaviorViewModel, IFetcherKindViewModelInternal fetcherKindViewModel, IGeneralFunctionsViewModel generalFunctionsViewModel, IGetSchedulers getSchedulers) : base( backendAccessAdapter, generalOptionsViewModel, pageLoadingBehaviorViewModel, pageRemovalBehaviorViewModel, fetcherKindViewModel, generalFunctionsViewModel, getSchedulers) { }