public PackageExpertViewModel( string packagePath, IInterProcessCommunicationManager interProcessCommunicationManager, ISelfElevationProxyProvider <IAppxPackageQuery> appxPackageQueryProvider, ISelfElevationProxyProvider <IAppxVolumeManager> appxVolumeManagerProvider, ISelfElevationProxyProvider <ISigningManager> signManager, IInteractionService interactionService, IAppxFileViewer fileViewer, FileInvoker fileInvoker) { this.interProcessCommunicationManager = interProcessCommunicationManager; this.appxPackageQueryProvider = appxPackageQueryProvider; this.appxVolumeManagerProvider = appxVolumeManagerProvider; this.fileViewer = fileViewer; this.fileInvoker = fileInvoker; this.packagePath = packagePath; this.Trust = new TrustViewModel(packagePath, interactionService, signManager); }
public PackageExpertViewModel( string packagePath, IInterProcessCommunicationManager interProcessCommunicationManager, ISelfElevationProxyProvider <IAppxPackageManager> appxPackageManagerProvider, ISelfElevationProxyProvider <IAppxVolumeManager> appxVolumeManagerProvider, ISelfElevationProxyProvider <ISigningManager> signManager, IInteractionService interactionService, IRunningAppsDetector runningDetector, IDialogService dialogService) { this.interProcessCommunicationManager = interProcessCommunicationManager; this.appxPackageManagerProvider = appxPackageManagerProvider; this.appxVolumeManagerProvider = appxVolumeManagerProvider; this.runningDetector = runningDetector; this.packagePath = packagePath; this.dialogService = dialogService; this.Trust = new TrustViewModel(packagePath, interactionService, signManager); }
public PackageExpertControl(IEventAggregator eventAggregator, IInterProcessCommunicationManager ipcManager, ISelfElevationProxyProvider <IAppxPackageManager> packageManagerProvider, ISelfElevationProxyProvider <IAppxVolumeManager> volumeManagerProvider, ISelfElevationProxyProvider <ISigningManager> signingManagerProvider, IRunningAppsDetector runningDetector, IInteractionService interactionService, IDialogService dialogService, IConfigurationService configurationService ) { this.context = RegionContext.GetObservableContext(this); this.context.PropertyChanged += this.OnPropertyChanged; this.ipcManager = ipcManager; this.packageManagerProvider = packageManagerProvider; this.volumeManagerProvider = volumeManagerProvider; this.runningDetector = runningDetector; this.interactionService = interactionService; this.signingManagerProvider = signingManagerProvider; this.dialogService = dialogService; this.configurationService = configurationService; eventAggregator.GetEvent <ToolsChangedEvent>().Subscribe(this.CreateTools, ThreadOption.UIThread); }
public PackageExpertControl(IEventAggregator eventAggregator, IInterProcessCommunicationManager ipcManager, ISelfElevationProxyProvider <IAppxPackageQuery> packageQueryProvider, ISelfElevationProxyProvider <IAppxVolumeManager> volumeManagerProvider, ISelfElevationProxyProvider <ISigningManager> signingManagerProvider, IInteractionService interactionService, IConfigurationService configurationService, IAppxFileViewer fileViewer, FileInvoker fileInvoker ) { this.context = RegionContext.GetObservableContext(this); this.context.PropertyChanged += this.OnPropertyChanged; this.ipcManager = ipcManager; this.packageQueryProvider = packageQueryProvider; this.volumeManagerProvider = volumeManagerProvider; this.interactionService = interactionService; this.signingManagerProvider = signingManagerProvider; this.configurationService = configurationService; this.fileViewer = fileViewer; this.fileInvoker = fileInvoker; eventAggregator.GetEvent <ToolsChangedEvent>().Subscribe(this.CreateTools, ThreadOption.UIThread); }
public Client(IInterProcessCommunicationManager ipcManager) { this.ipcManager = ipcManager; }