예제 #1
0
        private IEnumerable <WildcardPattern> CreateKeyPatternList(string pattern)
        {
            WildcardOptions options = WildcardOptions.CultureInvariant | WildcardOptions.IgnoreCase;

            return(SessionStateUtilities.CreateWildcardsFromStrings(new string[] { pattern }, options));
        }
예제 #2
0
 internal static Collection <WildcardPattern> CreateWildcardsFromStrings(
     string[] globPatterns,
     WildcardOptions options)
 {
     return(SessionStateUtilities.CreateWildcardsFromStrings(SessionStateUtilities.ConvertArrayToCollection <string>(globPatterns), options));
 }