Changed QueryParameterFilter signature to ReadOnlyDictionary
This commit is contained in:
@@ -8,6 +8,6 @@
|
||||
/// <summary>
|
||||
/// Gets the query parameters.
|
||||
/// </summary>
|
||||
IDictionary<string, string> GetQueryParameters();
|
||||
IReadOnlyDictionary<string, string> GetQueryParameters();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -273,7 +273,7 @@ namespace AMWD.Net.Api.Cloudflare.Dns
|
||||
public DnsRecordType? Type { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
var dict = new Dictionary<string, string>();
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace AMWD.Net.Api.Cloudflare.Zones
|
||||
public ZoneStatus? Status { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
var dict = new Dictionary<string, string>();
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
public bool? IncludeSubdomains { get; set; }
|
||||
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
var dict = new Dictionary<string, string>();
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
public DateTime? HoldAfter { get; set; }
|
||||
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
var dict = new Dictionary<string, string>();
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ namespace Cloudflare.Core.Tests.CloudflareClientTests
|
||||
|
||||
private class TestFilter : IQueryParameterFilter
|
||||
{
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
return new Dictionary<string, string>
|
||||
{
|
||||
|
||||
@@ -371,7 +371,7 @@ namespace Cloudflare.Core.Tests.CloudflareClientTests
|
||||
|
||||
private class TestFilter : IQueryParameterFilter
|
||||
{
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
return new Dictionary<string, string>
|
||||
{
|
||||
|
||||
@@ -363,7 +363,7 @@ namespace Cloudflare.Core.Tests.CloudflareClientTests
|
||||
|
||||
private class TestFilter : IQueryParameterFilter
|
||||
{
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
return new Dictionary<string, string>
|
||||
{
|
||||
|
||||
@@ -460,7 +460,7 @@ namespace Cloudflare.Core.Tests.CloudflareClientTests
|
||||
|
||||
private class TestFilter : IQueryParameterFilter
|
||||
{
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
return new Dictionary<string, string>
|
||||
{
|
||||
|
||||
@@ -411,7 +411,7 @@ namespace Cloudflare.Core.Tests.CloudflareClientTests
|
||||
|
||||
private class TestFilter : IQueryParameterFilter
|
||||
{
|
||||
public IDictionary<string, string> GetQueryParameters()
|
||||
public IReadOnlyDictionary<string, string> GetQueryParameters()
|
||||
{
|
||||
return new Dictionary<string, string>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user