/// <summary> /// Creates <see cref="IDeploymentEngine"/> instances. /// </summary> /// <param name="deploymentContext">Custom deployment context</param> /// <returns><see cref="IDeploymentEngine"/></returns> public IDeploymentEngine CreatEngine(DeploymentContext deploymentContext) { var deploymentStartegyProvider = DeploymentStrategySource.GetStartegyProvider(deploymentContext); return(new DeploymentEngine(deploymentContext, deploymentStartegyProvider, PackagesFolderPath, RemotePackagesSources, UpdatePackages, AllowDowngrades)); }
/// <summary> /// Constructor /// </summary> public DeploymentConfiguration() { ProductConfigurationSource = new ProductConfigurationSource(); PackageConfigurationSource = new PackageConfigurationSource(); DeploymentStrategySource = new DeploymentStrategySource(); TransactionSource = new DeploymentTransactionSource(); PackageDeployer = new PackageDeployer(); PackageDiscoverer = new PackageDiscoverer(); }
/// <summary> /// Creates <see cref="IDeploymentEngine"/> instances. /// </summary> /// <param name="deploymentContext">Custom deployment context</param> /// <returns><see cref="IDeploymentEngine"/></returns> public IDeploymentEngine CreateEngine(DeploymentContext deploymentContext) { var deploymentStrategyProvider = DeploymentStrategySource.GetStrategyProvider(deploymentContext); return(new DeploymentEngine(deploymentContext, deploymentStrategyProvider, PackageDiscoverer, PackageDeployer, TransactionSource, PackagesFolderPath, RemotePackagesSources, LocalPackagesSources)); }
/// <summary> /// Constructor /// </summary> public DeploymentConfiguration() { ProductConfigurationSource = new ProductConfigurationSource(); PackageConfigurationSource = new PackageConfigurationSource(); DeploymentStrategySource = new DeploymentStrategySource(); }