Пример #1
0
        public override IEnumerable<string> GetTargetFolders(IObjectFactory objectFactory, EnvironmentInfo environmentInfo)
        {
            Guard.NotNull(objectFactory, "objectFactory");
              Guard.NotNull(environmentInfo, "environmentInfo");

              return
            environmentInfo.TerminalAppsBaseDirPath
              .Select(machineName => environmentInfo.GetSchedulerServerNetworkPath(machineName.ToString(), ""))
              .ToList();
        }
        public override IEnumerable <string> GetTargetFolders(IObjectFactory objectFactory, EnvironmentInfo environmentInfo)
        {
            Guard.NotNull(objectFactory, "objectFactory");
            Guard.NotNull(environmentInfo, "environmentInfo");

            return
                (environmentInfo.TerminalAppsBaseDirPath
                 .Select(machineName => environmentInfo.GetSchedulerServerNetworkPath(machineName.ToString(), ""))
                 .ToList());
        }
Пример #3
0
        public override IEnumerable <string> GetTargetFolders(IObjectFactory objectFactory, EnvironmentInfo environmentInfo)
        {
            Guard.NotNull(objectFactory, "objectFactory");
            Guard.NotNull(environmentInfo, "environmentInfo");

            string dirPath =
                Path.Combine(environmentInfo.SchedulerAppsBaseDirPath, SchedulerAppDirName);

            return
                (environmentInfo.SchedulerServerBinariesMachineNames
                 .Select(machineName => environmentInfo.GetSchedulerServerNetworkPath(machineName, dirPath))
                 .ToList());
        }
        public override IEnumerable<string> GetTargetFolders(IObjectFactory objectFactory, EnvironmentInfo environmentInfo)
        {
            Guard.NotNull(objectFactory, "objectFactory");
              Guard.NotNull(environmentInfo, "environmentInfo");

              string dirPath =
            Path.Combine(environmentInfo.SchedulerAppsBaseDirPath, SchedulerAppDirName);

              return
            environmentInfo.SchedulerServerBinariesMachineNames
              .Select(machineName => environmentInfo.GetSchedulerServerNetworkPath(machineName, dirPath))
              .ToList();
        }