public ReRouteDtoBase()
 {
     FileCacheOptions      = new CacheOptionsDto();
     QoSOptions            = new QosOptionsDto();
     LoadBalancerOptions   = new LoadBalancerOptionsDto();
     RateLimitOptions      = new RateLimitRuleDto();
     AuthenticationOptions = new AuthenticationOptionsDto();
     HttpHandlerOptions    = new HttpHandlerOptionsDto();
     SecurityOptions       = new SecurityOptionsDto();
 }
Пример #2
0
 public ReRouteModel()
 {
     FileCacheOptions          = new CacheOptionsDto();
     QoSOptions                = new QosOptionsDto();
     LoadBalancerOptions       = new LoadBalancerOptionsDto();
     RateLimitOptions          = new RateLimitRuleDto();
     AuthenticationOptions     = new AuthenticationOptionsDto();
     HttpHandlerOptions        = new HttpHandlerOptionsDto();
     SecurityOptions           = new SecurityOptionsDto();
     DownstreamHostAndPorts    = new List <HostAndPortModel>();
     DelegatingHandlers        = new List <string>();
     UpstreamHttpMethod        = new List <string>();
     AddHeadersToRequest       = new Dictionary <string, string>();
     UpstreamHeaderTransform   = new Dictionary <string, string>();
     DownstreamHeaderTransform = new Dictionary <string, string>();
     AddClaimsToRequest        = new Dictionary <string, string>();
     RouteClaimsRequirement    = new Dictionary <string, string>();
     AddQueriesToRequest       = new Dictionary <string, string>();
 }