コード例 #1
0
    public PassthroughUriFilter(IEnumerable<string> queryNamesToPassThrough, IUriFilter nextFilter = null) :
      base(nextFilter)
    {
      if (queryNamesToPassThrough == null) throw new ArgumentNullException(nameof(queryNamesToPassThrough));

      this.queryNamesToPassThrough = queryNamesToPassThrough.ToList();
    }
コード例 #2
0
 public ResourceLinker(IRouteCacheProvider routesProvider, IRouteSegmentExtractor extractor, IUriFilter queryFilter)
 {
   this.routesProvider = routesProvider;
   this.segmentExtractor = extractor;
   this.uriFilter = queryFilter;
 }
コード例 #3
0
 public void RunBeforeEachTest()
 {
     filters = new ExcludeRootUriFilter(new Uri(OriginUrl));
 }
コード例 #4
0
 public void RunBeforeEachTest()
 {
     filters = new ExternalUriFilter(new Uri(OriginUrl));
 }
コード例 #5
0
 /// <summary>
 /// </summary>
 /// <param name="nextFilter">The next filter or null.</param>
 public UriFilter(IUriFilter nextFilter)
 {
   this.nextFilter = nextFilter;
 }
コード例 #6
0
 public EnsureHttpsFilter(IUriFilter nextFilter = null) : 
   base(nextFilter)
 {
 }