public GlobalConfigurationDtoBase()
 {
     ServiceDiscoveryProvider = new ServiceDiscoveryProviderDto();
     RateLimitOptions         = new RateLimitOptionsDto();
     QoSOptions          = new QosOptionsDto();
     LoadBalancerOptions = new LoadBalancerOptionsDto();
     HttpHandlerOptions  = new HttpHandlerOptionsDto();
 }
        public ReRouteDtoBase()
        {
            ChangeDownstreamPathTemplate = new Dictionary <string, 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>();

            DownstreamHostAndPorts = new List <HostAndPortDto>();
            UpstreamHttpMethod     = new List <string>();
            DelegatingHandlers     = new List <string>();

            FileCacheOptions      = new CacheOptionsDto();
            QoSOptions            = new QosOptionsDto();
            LoadBalancerOptions   = new LoadBalancerOptionsDto();
            RateLimitOptions      = new RateLimitRuleDto();
            AuthenticationOptions = new AuthenticationOptionsDto();
            HttpHandlerOptions    = new HttpHandlerOptionsDto();
            SecurityOptions       = new SecurityOptionsDto();
        }