public ThrottlePolicySettings ReadSettings()
        {
            var settings = new ThrottlePolicySettings()
            {
                IpThrottling         = policyConfig.IpThrottling,
                ClientThrottling     = policyConfig.ClientThrottling,
                EndpointThrottling   = policyConfig.EndpointThrottling,
                StackBlockedRequests = policyConfig.StackBlockedRequests,
                LimitPerSecond       = policyConfig.LimitPerSecond,
                LimitPerMinute       = policyConfig.LimitPerMinute,
                LimitPerHour         = policyConfig.LimitPerHour,
                LimitPerDay          = policyConfig.LimitPerDay,
                LimitPerWeek         = policyConfig.LimitPerWeek
            };

            return(settings);
        }
        public ThrottlePolicySettings ReadSettings()
        {
            var settings = new ThrottlePolicySettings()
            {
                IpThrottling = policyConfig.IpThrottling,
                ClientThrottling = policyConfig.ClientThrottling,
                EndpointThrottling = policyConfig.EndpointThrottling,
                StackBlockedRequests = policyConfig.StackBlockedRequests,
                LimitPerSecond = policyConfig.LimitPerSecond,
                LimitPerMinute = policyConfig.LimitPerMinute,
                LimitPerHour = policyConfig.LimitPerHour,
                LimitPerDay = policyConfig.LimitPerDay,
                LimitPerWeek = policyConfig.LimitPerWeek
            };

            return settings;
        }