public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
        {
            Guard.NotNull(objectFactory, "objectFactory");

            return
                (new DeployWebAppDeploymentTask(
                     objectFactory.CreateProjectInfoRepository(),
                     objectFactory.CreateEnvironmentInfoRepository(),
                     objectFactory.CreateIMsDeploy(),
                     objectFactory.CreateArtifactsRepository(),
                     objectFactory.CreateIIisManager(),
                     objectFactory.CreateFileAdapter(),
                     objectFactory.CreateZipFileAdapter(),
                     objectFactory.CreateApplicationConfiguration(),
                     objectFactory.CreateDirectoryAdapter()));
        }
Esempio n. 2
0
        public override DeploymentTask CreateDeploymentTask(IObjectFactory objectFactory)
        {
            Guard.NotNull(objectFactory, "objectFactory");

              return
            new DeployWebAppDeploymentTask(
              objectFactory.CreateProjectInfoRepository(),
              objectFactory.CreateEnvironmentInfoRepository(),
              objectFactory.CreateIMsDeploy(),
              objectFactory.CreateArtifactsRepository(),
              objectFactory.CreateIIisManager(),
              objectFactory.CreateFileAdapter(),
              objectFactory.CreateZipFileAdapter(),
              objectFactory.CreateApplicationConfiguration(),
              objectFactory.CreateDirectoryAdapter());
        }