Exemplo n.º 1
0
 public InstallController(IInstallerProvider installerProvider, IVolumeWatcher volumeWatcher,
                          MainViewModel mainViewModel, IStepProvider stepProvider, string stepName, ILoggerFactory loggerFactory)
     : base(mainViewModel, stepProvider, stepName, loggerFactory)
 {
     InstallerProvider = installerProvider;
     VolumeWatcher     = volumeWatcher;
 }
Exemplo n.º 2
0
        public VolumeContainer(IVolumeWatcher volumeWatcher, ILoggerFactory loggerFactory)
        {
            VolumeWatcher = volumeWatcher;
            LoggerFactory = loggerFactory;

            VolumeWatcher.VolumeRemoved += VolumeWatcher_VolumeRemoved;
        }
Exemplo n.º 3
0
 public EjectController(ICardDetector cardDetector, IEjectService ejectService, IToastService toastService, IVolumeWatcher volumeWatcher,
                        MainViewModel mainViewModel, IStepProvider stepProvider, string stepName, ILoggerFactory loggerFactory)
     : base(mainViewModel, stepProvider, stepName, loggerFactory)
 {
     CardDetector  = cardDetector;
     EjectService  = ejectService;
     ToastService  = toastService;
     VolumeWatcher = volumeWatcher;
 }
Exemplo n.º 4
0
 public CardController(SynchronizationContext synchronizationContext, ICardDetector cardDetector, IVolumeWatcher volumeWatcher, IVolumeContainer volumeContainer, IPartitionService partitionService, IBootService bootService, IScriptService scriptService,
                       MainViewModel mainViewModel, IStepProvider stepProvider, string stepName, ILoggerFactory loggerFactory)
     : base(mainViewModel, stepProvider, stepName, loggerFactory)
 {
     SynchronizationContext = synchronizationContext;
     CardDetector           = cardDetector;
     VolumeWatcher          = volumeWatcher;
     VolumeContainer        = volumeContainer;
     PartitionService       = partitionService;
     BootService            = bootService;
     ScriptService          = scriptService;
 }