Exemplo n.º 1
0
        public static string GetDirectoryScheduleImages(DegreeEnum degreeTypeEnum)
        {
            var path = Path.Combine(GetDirectorySchedulePath, degreeTypeEnum.ToString());

            Directory.CreateDirectory(path);
            return(path);
        }
Exemplo n.º 2
0
 public static string GetDescription(this DegreeEnum value)
 {
     if (value == DegreeEnum.Docent)
     {
         return("Доцент");
     }
     if (value == DegreeEnum.SeniorResearchFellow)
     {
         return("Старший науковий співробітник");
     }
     if (value == DegreeEnum.Professor)
     {
         return("Професор");
     }
     return("");
 }
Exemplo n.º 3
0
 public void SetDegree(DegreeEnum degree)
 {
     Degree = degree;
 }