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