public VsTemplateWizard(IVsPackageInstaller installer, IVsWebsiteHandler websiteHandler, IVsPackageInstallerServices packageServices, IOutputConsoleProvider consoleProvider) { _installer = installer; _websiteHandler = websiteHandler; _packageServices = packageServices; _consoleProvider = consoleProvider; }
public PreinstalledPackageInstaller( IVsWebsiteHandler websiteHandler, IVsPackageInstallerServices packageServices, IVsCommonOperations vsCommonOperations, ISolutionManager solutionManager) { _websiteHandler = websiteHandler; _packageServices = packageServices; _vsCommonOperations = vsCommonOperations; _solutionManager = solutionManager; }
/// <summary> /// Creates an instance of the package installer for unit testing of extension-based preinstalled packages. This should only be used for unit tests. /// </summary> /// <param name="vsExtensionManager">A mock extension manager instance (used for unit tests).</param> internal VsPackageInstaller(IVsPackageManagerFactory packageManagerFactory, IScriptExecutor scriptExecutor, IPackageRepositoryFactory repositoryFactory, IOutputConsoleProvider consoleProvider, IVsCommonOperations vsCommonOperations, ISolutionManager solutionManager, IVsWebsiteHandler websiteHandler, IVsPackageInstallerServices packageServices, object vsExtensionManager) : this(packageManagerFactory, scriptExecutor, repositoryFactory, consoleProvider, vsCommonOperations, solutionManager, websiteHandler, packageServices) { _vsExtensionManager = vsExtensionManager; }
/// <summary> /// Creates an instance of the package installer for unit testing of registry-based preinstalled packages. This should only be used for unit tests. /// </summary> /// <param name="registryKeys">The optional list of parent registry keys to look in (used for unit tests).</param> internal VsPackageInstaller(IVsPackageManagerFactory packageManagerFactory, IScriptExecutor scriptExecutor, IPackageRepositoryFactory repositoryFactory, IOutputConsoleProvider consoleProvider, IVsCommonOperations vsCommonOperations, ISolutionManager solutionManager, IVsWebsiteHandler websiteHandler, IVsPackageInstallerServices packageServices, IEnumerable<IRegistryKey> registryKeys) : this(packageManagerFactory, scriptExecutor, repositoryFactory, consoleProvider, vsCommonOperations, solutionManager, websiteHandler, packageServices) { _registryKeys = registryKeys; }
/// <summary> /// Creates an instance of the package installer for unit testing of registry-based preinstalled packages. This should only be used for unit tests. /// </summary> /// <param name="registryKeys">The optional list of parent registry keys to look in (used for unit tests).</param> internal VsPackageInstaller(IVsPackageManagerFactory packageManagerFactory, IScriptExecutor scriptExecutor, IPackageRepositoryFactory repositoryFactory, IOutputConsoleProvider consoleProvider, IVsCommonOperations vsCommonOperations, ISolutionManager solutionManager, IVsWebsiteHandler websiteHandler, IVsPackageInstallerServices packageServices, IEnumerable <IRegistryKey> registryKeys) : this(packageManagerFactory, scriptExecutor, repositoryFactory, consoleProvider, vsCommonOperations, solutionManager, websiteHandler, packageServices) { _registryKeys = registryKeys; }
public VsTemplateWizard( IVsPackageInstaller installer, IVsWebsiteHandler websiteHandler, IVsPackageInstallerServices packageServices, IOutputConsoleProvider consoleProvider, IVsCommonOperations vsCommonOperations, ISolutionManager solutionManager) { _installer = installer; _websiteHandler = websiteHandler; _packageServices = packageServices; _consoleProvider = consoleProvider; _vsCommonOperations = vsCommonOperations; _solutionManager = solutionManager; }
public VsPackageInstaller(IVsPackageManagerFactory packageManagerFactory, IScriptExecutor scriptExecutor, IPackageRepositoryFactory repositoryFactory, IOutputConsoleProvider consoleProvider, IVsCommonOperations vsCommonOperations, ISolutionManager solutionManager, IVsWebsiteHandler websiteHandler, IVsPackageInstallerServices packageServices) { _packageManagerFactory = packageManagerFactory; _scriptExecutor = scriptExecutor; _repositoryFactory = repositoryFactory; _consoleProvider = consoleProvider; _vsCommonOperations = vsCommonOperations; _solutionManager = solutionManager; _websiteHandler = websiteHandler; _packageServices = packageServices; }
public TestableVsTemplateWizard( IVsPackageInstaller installer = null, Func<string, XDocument> loadDocumentCallback = null, IVsWebsiteHandler websiteHandler = null, IVsPackageInstallerServices packageServices = null, IOutputConsoleProvider consoleProvider = null) : base( installer, websiteHandler, packageServices ?? new Mock<IVsPackageInstallerServices>().Object, consoleProvider ?? new Mock<IOutputConsoleProvider>().Object, new Mock<IVsCommonOperations>().Object, new Mock<ISolutionManager>().Object) { ErrorMessages = new List<string>(); _loadDocumentCallback = loadDocumentCallback ?? (path => null); }