public PassthroughUriFilter(IEnumerable<string> queryNamesToPassThrough, IUriFilter nextFilter = null) : base(nextFilter) { if (queryNamesToPassThrough == null) throw new ArgumentNullException(nameof(queryNamesToPassThrough)); this.queryNamesToPassThrough = queryNamesToPassThrough.ToList(); }
public ResourceLinker(IRouteCacheProvider routesProvider, IRouteSegmentExtractor extractor, IUriFilter queryFilter) { this.routesProvider = routesProvider; this.segmentExtractor = extractor; this.uriFilter = queryFilter; }
public void RunBeforeEachTest() { filters = new ExcludeRootUriFilter(new Uri(OriginUrl)); }
public void RunBeforeEachTest() { filters = new ExternalUriFilter(new Uri(OriginUrl)); }
/// <summary> /// </summary> /// <param name="nextFilter">The next filter or null.</param> public UriFilter(IUriFilter nextFilter) { this.nextFilter = nextFilter; }
public EnsureHttpsFilter(IUriFilter nextFilter = null) : base(nextFilter) { }