예제 #1
0
        public ScheduleTaskViewConfiguration GetScheduleTaskViewConfiguration(string taskId, string environment)
        {
            List <ScheduleTaskViewConfiguration> configurations = SchedulerController.GetScheduleTaskViewConfigurations(taskId);

            return(configurations.Find(delegate(ScheduleTaskViewConfiguration configuration)
            {
                return configuration.Environment == environment;
            }));
        }
예제 #2
0
 public List <ScheduleTaskViewConfiguration> GetScheduleTaskViewConfigurations(string taskId)
 {
     return(SchedulerController.GetScheduleTaskViewConfigurations(taskId));
 }