private IEnumerable <WildcardPattern> CreateKeyPatternList(string pattern) { WildcardOptions options = WildcardOptions.CultureInvariant | WildcardOptions.IgnoreCase; return(SessionStateUtilities.CreateWildcardsFromStrings(new string[] { pattern }, options)); }
internal static Collection <WildcardPattern> CreateWildcardsFromStrings( string[] globPatterns, WildcardOptions options) { return(SessionStateUtilities.CreateWildcardsFromStrings(SessionStateUtilities.ConvertArrayToCollection <string>(globPatterns), options)); }