From a3ad7c9ea6c668911474dd4fce4934c6d3dd4157 Mon Sep 17 00:00:00 2001 From: Haacked Date: Sat, 12 Sep 2015 16:21:49 -0700 Subject: [PATCH] Make it a readonly list --- Octokit/Models/Response/Meta.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Octokit/Models/Response/Meta.cs b/Octokit/Models/Response/Meta.cs index 869a2726..66720825 100644 --- a/Octokit/Models/Response/Meta.cs +++ b/Octokit/Models/Response/Meta.cs @@ -18,9 +18,9 @@ namespace Octokit public Meta( bool verifiablePasswordAuthentication, string gitHubServicesSha, - IReadOnlyCollection hooks, - IReadOnlyCollection git, - IReadOnlyCollection pages) + IReadOnlyList hooks, + IReadOnlyList git, + IReadOnlyList pages) { VerifiablePasswordAuthentication = verifiablePasswordAuthentication; GitHubServicesSha = gitHubServicesSha; @@ -46,17 +46,17 @@ namespace Octokit /// originate from on GitHub.com. Subscribe to the API Changes blog or follow @GitHubAPI on Twitter to get /// updated when this list changes. /// - public IReadOnlyCollection Hooks { get; private set; } + public IReadOnlyList Hooks { get; private set; } /// /// An Array of IP addresses in CIDR format specifying the Git servers for GitHub.com. /// - public IReadOnlyCollection Git { get; private set; } + public IReadOnlyList Git { get; private set; } /// /// An Array of IP addresses in CIDR format specifying the A records for GitHub Pages. /// - public IReadOnlyCollection Pages { get; private set; } + public IReadOnlyList Pages { get; private set; } internal string DebuggerDisplay {