Пример #1
0
        public string StartTask2(StartTaskOptions options)
        {
            TaskData td = getTask(options.ClassName + "," + options.AssemblyName);

            if (td != null)
            {
                ParameterSet ps = new ParameterSet(options.ClassName, options.AssemblyName);

                String[] values = options.StringParameters.Split(',');
                foreach (String s in values)
                {
                    ps.addParameter(typeof(String), s);
                }
                td.Params = ps;

                td.ExtraRun = true;
                return(runTask(td));
            }
            else
            {
                log.Error("could not find task: " + options.ClassName + "  probably missing in tasks.config ??");
            }

            return("error");
        }
Пример #2
0
 public string StartTask2(StartTaskOptions options)
 {
     return(_dep.StartTask2(options));
 }
Пример #3
0
 public string StartTask2(StartTaskOptions options)
 {
     return _dep.StartTask2 (options);
 }