コード例 #1
0
 public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
 {
     return
         (new DeployUberDeployerAgentDeploymentTask(
              objectFactory.CreateProjectInfoRepository(),
              objectFactory.CreateEnvironmentInfoRepository(),
              objectFactory.CreateArtifactsRepository(),
              objectFactory.CreateNtServiceManager(),
              objectFactory.CreatePasswordCollector(),
              objectFactory.CreateFailoverClusterManager(),
              objectFactory.CreateDirectoryAdapter(),
              objectFactory.CreateFileAdapter(),
              objectFactory.CreateZipFileAdapter()));
 }
コード例 #2
0
 public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
 {
     return
     new DeployNtServiceDeploymentTask(
       objectFactory.CreateProjectInfoRepository(),
       objectFactory.CreateEnvironmentInfoRepository(),
       objectFactory.CreateArtifactsRepository(),
       objectFactory.CreateNtServiceManager(),
       objectFactory.CreatePasswordCollector(),
       objectFactory.CreateFailoverClusterManager(),
       objectFactory.CreateDirectoryAdapter(),
       objectFactory.CreateFileAdapter(),
       objectFactory.CreateZipFileAdapter());
 }
コード例 #3
0
        public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
        {
            if (objectFactory == null)
              {
            throw new ArgumentNullException("objectFactory");
              }

              return
            new DeployExtensionProjectDeploymentTask(
              objectFactory.CreateProjectInfoRepository(),
              objectFactory.CreateEnvironmentInfoRepository(),
              objectFactory.CreateArtifactsRepository(),
              objectFactory.CreateDirectoryAdapter(),
              objectFactory.CreateFileAdapter(),
              objectFactory.CreateZipFileAdapter(),
              objectFactory.CreateFailoverClusterManager(),
              objectFactory.CreateNtServiceManager());
        }
コード例 #4
0
        public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
        {
            if (objectFactory == null)
            {
                throw new ArgumentNullException("objectFactory");
            }

            return
                (new DeployExtensionProjectDeploymentTask(
                     objectFactory.CreateProjectInfoRepository(),
                     objectFactory.CreateEnvironmentInfoRepository(),
                     objectFactory.CreateArtifactsRepository(),
                     objectFactory.CreateDirectoryAdapter(),
                     objectFactory.CreateFileAdapter(),
                     objectFactory.CreateZipFileAdapter(),
                     objectFactory.CreateFailoverClusterManager(),
                     objectFactory.CreateNtServiceManager()));
        }
コード例 #5
0
        public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory, string projectConfigurationName, string projectConfigurationBuildId, string targetEnvironmentName)
        {
            if (objectFactory == null)
              {
            throw new ArgumentNullException("objectFactory");
              }

              return
            new DeployNtServiceDeploymentTask(
              objectFactory.CreateEnvironmentInfoRepository(),
              objectFactory.CreateArtifactsRepository(),
              objectFactory.CreateNtServiceManager(),
              objectFactory.CreatePasswordCollector(),
              objectFactory.CreateFailoverClusterManager(),
              this,
              projectConfigurationName,
              projectConfigurationBuildId,
              targetEnvironmentName);
        }