public static bool IsRegularExpressionProvided(this IRepresentRegularExpression source, MatchingLevel minimalMatchingLevel) { return(source.RegularExpressionMatchingLevel >= minimalMatchingLevel); }
public static bool IsRegularExpressionProvided(this IRepresentRegularExpression source) { return(source.RegularExpressionMatchingLevel != MatchingLevel.None); }