public override IEnumerable<string> GetTargetFolders(IObjectFactory objectFactory, EnvironmentInfo environmentInfo)
        {
            Guard.NotNull(objectFactory, "objectFactory");
              Guard.NotNull(environmentInfo, "environmentInfo");

              WebAppProjectConfiguration configuration =
            environmentInfo.GetWebAppProjectConfiguration(Name);

              return
            environmentInfo
              .WebServerMachineNames
              .Select(
            wsmn =>
            environmentInfo.GetWebServerNetworkPath(
              wsmn,
              Path.Combine(environmentInfo.WebAppsBaseDirPath, configuration.WebAppDirName)))
              .ToList();
        }
        public override IEnumerable <string> GetTargetFolders(IObjectFactory objectFactory, EnvironmentInfo environmentInfo)
        {
            Guard.NotNull(objectFactory, "objectFactory");
            Guard.NotNull(environmentInfo, "environmentInfo");

            WebAppProjectConfiguration configuration =
                environmentInfo.GetWebAppProjectConfiguration(this);

            return
                (environmentInfo
                 .WebServerMachineNames
                 .Select(
                     wsmn =>
                     environmentInfo.GetWebServerNetworkPath(
                         wsmn,
                         Path.Combine(environmentInfo.WebAppsBaseDirPath, configuration.WebAppDirName)))
                 .ToList());
        }
        public IEnumerable <string> GetTargetUrls(EnvironmentInfo environmentInfo)
        {
            if (environmentInfo == null)
            {
                throw new ArgumentNullException("environmentInfo");
            }

            WebAppProjectConfiguration webAppProjectConfiguration =
                environmentInfo.GetWebAppProjectConfiguration(this);

            // TODO IMM HI: what about https vs http?
            return
                (environmentInfo.WebServerMachineNames
                 .Select(
                     wsmn =>
                     string.Format(
                         "http://{0}/{1}",
                         wsmn,
                         webAppProjectConfiguration.WebAppName))
                 .ToList());
        }
        public IEnumerable<string> GetTargetUrls(EnvironmentInfo environmentInfo)
        {
            if (environmentInfo == null)
              {
            throw new ArgumentNullException("environmentInfo");
              }

              WebAppProjectConfiguration webAppProjectConfiguration =
            environmentInfo.GetWebAppProjectConfiguration(Name);

              // TODO IMM HI: what about https vs http?
              return
            environmentInfo.WebServerMachineNames
              .Select(
            wsmn =>
            string.Format(
              "http://{0}/{1}",
              wsmn,
              webAppProjectConfiguration.WebAppName))
              .ToList();
        }