コード例 #1
0
ファイル: UriMatchCondition.cs プロジェクト: wserr/AspNetCore
 private static Pattern CreatePattern(InputParser inputParser, string input, UriMatchPart uriMatchPart)
 {
     return(inputParser.ParseInputString(input, uriMatchPart));
 }
コード例 #2
0
ファイル: UriMatchCondition.cs プロジェクト: wserr/AspNetCore
 public UriMatchCondition(InputParser inputParser, string input, string pattern, UriMatchPart uriMatchPart, bool ignoreCase, bool negate)
     : base(CreatePattern(inputParser, input, uriMatchPart), CreateRegexMatch(pattern, ignoreCase, negate))
 {
 }