public StartNewImportCommand(IApplicationController applicationController, INavigationService navigationService, IDataTransferModel transferModel) : base(navigationService) { this.transferModel = transferModel; this.applicationController = applicationController; transferModel.Subscribe(m => m.ImportCancellation, OnCancellationChanged); }
public ImportStep(IDataTransferService transferService, ITransferStatisticsFactory statisticsFactory, IErrorHandler errorHandler, IDataTransferModel transferModel) : base(transferModel) { this.transferService = transferService; this.statisticsFactory = statisticsFactory; this.errorHandler = errorHandler; transferModel.Subscribe(m => m.HasImportStarted, OnImportStateChanged); }
public AdapterSetupViewModelBase(IReadOnlyDictionary <string, IDataAdapterDefinition> adapters, Func <string, IDataAdapterConfigurationProvider> configurationProvidersSource, Expression <Func <IDataTransferModel, string> > adapterIdProperty, IDataTransferModel transferModel) { Adapters = adapters; this.configurationProvidersSource = configurationProvidersSource; TransferModel = transferModel; transferModel.Subscribe(adapterIdProperty, UpdateCurrentProvider); }
public AdapterSetupViewModelBase(IReadOnlyDictionary<string, IDataAdapterDefinition> adapters, Func<string, IDataAdapterConfigurationProvider> configurationProvidersSource, Expression<Func<IDataTransferModel, string>> adapterIdProperty, IDataTransferModel transferModel) { Adapters = adapters; this.configurationProvidersSource = configurationProvidersSource; TransferModel = transferModel; transferModel.Subscribe(adapterIdProperty, UpdateCurrentProvider); }
public CancelImportCommand(IDataTransferModel transferModel) { this.transferModel = transferModel; transferModel.Subscribe(m => m.ImportCancellation, OnCancellationChanged); }
public WelcomeStep(IDataTransferModel transferModel) : base(transferModel) { transferModel.Subscribe(m => m.HasImportStarted, OnImportStateChanged); }