Beispiel #1
0
 public static bool IsCorrector(TypeGM typeGM)
 {
     return(Enum.GetName(typeof(TypeGM), typeGM).StartsWith("Correct"));
 }
Beispiel #2
0
 public static bool IsValidator(TypeGM typeGM)
 {
     return(Enum.GetName(typeof(TypeGM), typeGM).StartsWith("Validate"));
 }
Beispiel #3
0
 public static bool IsSourceValidator(TypeGM typeGM)
 {
     return((typeGM == TypeGM.ValidateSimpSource) ||
            (typeGM == TypeGM.ValidateCompSource) ||
            (typeGM == TypeGM.ValidateTypeGlyphSource));
 }
Beispiel #4
0
 public static bool IsCorrector(TypeGM typeGM)
 {
     return (Enum.GetName(typeof(TypeGM),typeGM).StartsWith("Correct"));
 }
Beispiel #5
0
 public static bool IsValidator(TypeGM typeGM)
 {
     return (Enum.GetName(typeof(TypeGM),typeGM).StartsWith("Validate"));
 }
Beispiel #6
0
 public static bool IsSourceValidator(TypeGM typeGM)
 {
     return ((typeGM==TypeGM.ValidateSimpSource)||
         (typeGM==TypeGM.ValidateCompSource)||
         (typeGM==TypeGM.ValidateTypeGlyphSource));
 }