protected PackagesProviderBase( Project project, IProjectManager projectManager, ResourceDictionary resources, ProviderServices providerServices, IProgressProvider progressProvider) { if (projectManager == null) { throw new ArgumentNullException("projectManager"); } if (project == null) { throw new ArgumentNullException("project"); } if (resources == null) { throw new ArgumentNullException("resources"); } if (providerServices == null) { throw new ArgumentNullException("providerServices"); } _progressProvider = progressProvider; _resources = resources; _scriptExecutor = providerServices.ScriptExecutor; _progressWindowOpener = providerServices.ProgressWindow; _outputConsole = new Lazy<IConsole>(() => providerServices.OutputConsoleProvider.CreateOutputConsole(requirePowerShellHost: false)); ProjectManager = projectManager; _project = project; }
protected PackagesProviderBase( Project project, IProjectManager projectManager, ResourceDictionary resources, ProviderServices providerServices, IProgressProvider progressProvider) { if (projectManager == null) { throw new ArgumentNullException("projectManager"); } if (project == null) { throw new ArgumentNullException("project"); } if (resources == null) { throw new ArgumentNullException("resources"); } if (providerServices == null) { throw new ArgumentNullException("providerServices"); } _progressProvider = progressProvider; _resources = resources; _scriptExecutor = providerServices.ScriptExecutor; _progressWindowOpener = providerServices.ProgressWindow; _outputConsole = new Lazy <IConsole>(() => providerServices.OutputConsoleProvider.CreateOutputConsole(requirePowerShellHost: false)); ProjectManager = projectManager; _project = project; }
public ProviderServices( ILicenseWindowOpener licenseWindowOpener, IProgressWindowOpener progressWindow, IScriptExecutor scriptExecutor, IOutputConsoleProvider outputConsoleProvider) { LicenseWindow = licenseWindowOpener; ProgressWindow = progressWindow; ScriptExecutor = scriptExecutor; OutputConsoleProvider = outputConsoleProvider; }
public ProviderServices( IUserNotifierServices userNotifierServices, IProgressWindowOpener progressWindow, IProviderSettings selectedProviderSettings, IScriptExecutor scriptExecutor, IOutputConsoleProvider outputConsoleProvider, IVsCommonOperations vsCommonOperations) { UserNotifierServices = userNotifierServices; ProgressWindow = progressWindow; ScriptExecutor = scriptExecutor; OutputConsoleProvider = outputConsoleProvider; ProviderSettings = selectedProviderSettings; VsCommonOperations = vsCommonOperations; }