예제 #1
0
파일: WebDataRun.cs 프로젝트: 24/source_04
        public static IServerManager GetServer(string serverName, string parameters = null)
        {
            NamedValues <ZValue> parameters2 = ParseParameters(parameters);
            bool test = WebData.GetTestValue(parameters2);

            InitServers(test);
            return(ServerManagers_v2.Get(serverName));
        }
예제 #2
0
파일: WebDataRun.cs 프로젝트: 24/source_04
        public static DownloadAutomateManager CreateDownloadAutomateManagerWithServers(string parameters = null)
        {
            //NamedValues<ZValue> parameters2 = NamedValues.ParseValues(parameters);
            NamedValues <ZValue> parameters2 = ParseParameters(parameters);
            bool test = WebData.GetTestValue(parameters2);
            DownloadAutomateManagerCreator downloadAutomateManagerCreator = GetDownloadAutomateManagerCreator(parameters2, test);
            DownloadAutomateManager        downloadAutomateManager        = downloadAutomateManagerCreator.Create();

            //InitServers(test);
            InitServers_v2(test);
            downloadAutomateManager.AddServerManagers(downloadAutomateManagerCreator.CreateServerManagers());
            return(downloadAutomateManager);
        }