Ejemplo n.º 1
0
        public static IEnumerable <string> GetJobDefinitions()
        {
            string directoryPath      = ScheduledJobStore.GetDirectoryPath();
            IEnumerable <string> strs = Directory.EnumerateDirectories(directoryPath);

            if (strs != null)
            {
                return(strs);
            }
            else
            {
                return(new Collection <string>());
            }
        }