From 758b1cebd20b35b91975ffc374fa908d36126efd Mon Sep 17 00:00:00 2001 From: Moreno Gentili Date: Mon, 5 Oct 2015 20:33:21 +0200 Subject: [PATCH] IpRules, ClientRules and EndpointRules are now of type IDictionary --- WebApiThrottle/ThrottlePolicy.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WebApiThrottle/ThrottlePolicy.cs b/WebApiThrottle/ThrottlePolicy.cs index 50c1cc1..b892d19 100644 --- a/WebApiThrottle/ThrottlePolicy.cs +++ b/WebApiThrottle/ThrottlePolicy.cs @@ -64,7 +64,7 @@ public ThrottlePolicy(long? perSecond = null, long? perMinute = null, long? perH public List IpWhitelist { get; set; } - public Dictionary IpRules { get; set; } + public IDictionary IpRules { get; set; } /// /// Gets or sets a value indicating whether client key throttling is enabled. @@ -73,7 +73,7 @@ public ThrottlePolicy(long? perSecond = null, long? perMinute = null, long? perH public List ClientWhitelist { get; set; } - public Dictionary ClientRules { get; set; } + public IDictionary ClientRules { get; set; } /// /// Gets or sets a value indicating whether route throttling is enabled @@ -82,7 +82,7 @@ public ThrottlePolicy(long? perSecond = null, long? perMinute = null, long? perH public List EndpointWhitelist { get; set; } - public Dictionary EndpointRules { get; set; } + public IDictionary EndpointRules { get; set; } /// /// Gets or sets a value indicating whether all requests, including the rejected ones, should be stacked in this order: day, hour, min, sec