예제 #1
0
 public VerbRestrictingMapHandler(IHttpHandler handler, IEnumerable <string> verbs) : base(handler)
 {
     this.match = new VerbRestrictingMatchRule(verbs);
 }
예제 #2
0
 public UrlBaseMapHandler(IHttpHandler handler, IEnumerable <string> partialUris) : base(handler)
 {
     this.match = new UrlBaseMatchRule(partialUris);
 }
예제 #3
0
 public IPNetworkRestrictingMapHanlder(IHttpHandler handler, IIPFilter ipFilter) : base(handler)
 {
     MethodContract.NotNull(ipFilter, nameof(ipFilter));
     this.match = new IpNetworkRestrictingMatchRule(ipFilter);
 }
예제 #4
0
 public UrlBaseMapHandler(IHttpHandler handler, params string[] partialUris) : base(handler)
 {
     this.match = new UrlBaseMatchRule(partialUris);
 }
예제 #5
0
 public VerbRestrictingMapHandler(IHttpHandler handler, params string[] verbs) : base(handler)
 {
     this.match = new VerbRestrictingMatchRule(verbs);
 }