Пример #1
0
 public static IParseResult[] GetParseErrors(this IParseResultGroup group)
 {
     return(group.FindAll(r => r.Status == ParseStatus.Error));
 }
Пример #2
0
 public static IParseResult[] GetParseWarnings(this IParseResultGroup group)
 {
     return(group.FindAll(r => r.Status == ParseStatus.Warning));
 }
Пример #3
0
 public static bool ContainsParseErrors(this IParseResultGroup group)
 {
     return(group.Find(r => r.Status == ParseStatus.Error) != null);
 }
Пример #4
0
 public static bool ContainsParseWarnings(this IParseResultGroup group)
 {
     return(group.Find(r => r.Status == ParseStatus.Warning) != null);
 }