public static bool CheckOld(MProfileType t)
 {
     if (t == MProfileType.OldAlpha || t == MProfileType.OldBeta)
         return true;
     else
         return false;
 }
Exemplo n.º 2
0
        public static string ToString(MProfileType type)
        {
            var c = "";

            switch (type)
            {
            case MProfileType.OldAlpha:
                c = "old_alpha";
                break;

            case MProfileType.OldBeta:
                c = "old_beta";
                break;

            case MProfileType.Snapshot:
                c = "snapshot";
                break;

            case MProfileType.Release:
                c = "release";
                break;

            case MProfileType.Custom:
            default:
                c = "unknown";
                break;
            }

            return(c);
        }
Exemplo n.º 3
0
 public static bool CheckOld(MProfileType t)
 {
     if (t == MProfileType.OldAlpha || t == MProfileType.OldBeta)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemplo n.º 4
0
 public static bool CheckOld(MProfileType t)
 {
     return(t == MProfileType.OldAlpha || t == MProfileType.OldBeta);
 }