protected override void When(ServerManagerWrapper manager)
        {
            var createSite = new CreateSite(manager);
            _site = createSite.Install(InstallationConfiguration);

            var logging = new ConfigureLogging(manager, _directoryMock.Object);
            logging.ConfigureInstalledSite(_site, InstallationConfiguration);
        }
        protected override void When(ServerManagerWrapper manager)
        {
            var createSite = new CreateSite(manager);
            _site = createSite.Install(InstallationConfiguration);

            var bindings = new ConfigureBindings(manager);
            bindings.ConfigureInstalledSite(_site, InstallationConfiguration);
        }
        public SiteDeployer(IServerManager serverManager, InstallationConfiguration installationConfiguration, IDirectory directory)
        {
            _serverManager = serverManager;
            _installationConfiguration = installationConfiguration;
            _directory = directory;

            _preInstall = new PreInstallationTaskList
            {
                new DeleteExistingSite(_serverManager),
            };

            _installation = new CreateSite(_serverManager);

            _configuration = new ConfigurationTaskList
            {
                new ConfigureAppPool(_serverManager),
                new ConfigureBindings(_serverManager),
                new ConfigureLogging(_serverManager, _directory),
                new ConfigureAdditionalDirectories(_serverManager, _directory)
            };
        }
 protected override void When(ServerManagerWrapper manager)
 {
     var createSite = new CreateSite(manager);
     createSite.Install(InstallationConfiguration);
 }