ClrPlus.Core.Extensions.StringExtensions.HasWildcardMatch C# (CSharp) Method

HasWildcardMatch() public static method

Runs IsWildcardMatch on a collection.
public static HasWildcardMatch ( this source, string value, string ignorePrefix = null ) : bool
source this The source.
value string The value.
ignorePrefix string The ignore prefix.
return bool
        public static bool HasWildcardMatch(this IEnumerable<string> source, string value, string ignorePrefix = null) {
            return source.Any(wildcard => value.NewIsWildcardMatch(wildcard, wildcard.Contains(@"\\"), ignorePrefix));
        }