Esempio n. 1
0
        public static string GetContentType(ProcessedEntityType taskType)
        {
            if (Types.ContainsValue(taskType))
            {
                return Types.FirstOrDefault(p => p.Value == taskType).Key;
            }

            return null;
        }
Esempio n. 2
0
        public static string GetContentType(ProcessedEntityType taskType)
        {
            if (Types.ContainsValue(taskType))
            {
                return(Types.FirstOrDefault(p => p.Value == taskType).Key);
            }

            return(null);
        }
Esempio n. 3
0
 public static string GetControllerName(ProcessedEntityType taskType)
 {
     return taskType.ToString().ToLowerInvariant();
 }
Esempio n. 4
0
 public static string GetControllerName(ProcessedEntityType taskType)
 {
     return(taskType.ToString().ToLowerInvariant());
 }