Example #1
0
 public GlobalConfigurationDtoBase()
 {
     ServiceDiscoveryProvider = new ServiceDiscoveryProviderDto();
     RateLimitOptions         = new RateLimitOptionsDto();
     QoSOptions          = new QosOptionsDto();
     LoadBalancerOptions = new LoadBalancerOptionsDto();
     HttpHandlerOptions  = new HttpHandlerOptionsDto();
 }
 public ReRouteDtoBase()
 {
     FileCacheOptions      = new CacheOptionsDto();
     QoSOptions            = new QosOptionsDto();
     LoadBalancerOptions   = new LoadBalancerOptionsDto();
     RateLimitOptions      = new RateLimitRuleDto();
     AuthenticationOptions = new AuthenticationOptionsDto();
     HttpHandlerOptions    = new HttpHandlerOptionsDto();
     SecurityOptions       = new SecurityOptionsDto();
 }
 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>();
 }