示例#1
0
 public void RemoveDownstreamHttpMethod(string method)
 {
     DownstreamHttpMethods.RemoveAll(x => x.Method.Equals(method, StringComparison.CurrentCultureIgnoreCase));
 }
示例#2
0
 public void RemoveAllDownstreamHttpMethod()
 {
     DownstreamHttpMethods.Clear();
 }
示例#3
0
 public void AddDownstreamHttpMethod(IGuidGenerator generator, string method)
 {
     DownstreamHttpMethods.AddIfNotContains(new RouteDownstreamHttpMethod(Id, generator.Create(), method));;
 }