public UninstallCommand(CustomBootstrapperApplication bootstrapperApplication) { this.bootstrapperApplication = bootstrapperApplication ?? throw new ArgumentNullException(nameof(bootstrapperApplication)); dispatcher = Dispatcher.CurrentDispatcher; this.bootstrapperApplication.PlanBegin += HandlePlanBegin; this.bootstrapperApplication.DetectPackageComplete += HandleDetectPackageComplete; }
public BootstrapperApplicationModel(CustomBootstrapperApplication customBootstrapperApplication) { this.CustomBootstrapperApplication = customBootstrapperApplication; this._hwnd = IntPtr.Zero; }