mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
Applying our private member naming convention
Just trying to make @half-ogre happy
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Octokit.Http
|
||||
{
|
||||
public class ApiConnection<T> : IApiConnection<T>
|
||||
{
|
||||
readonly IApiPagination<T> pagination;
|
||||
readonly IApiPagination<T> _pagination;
|
||||
|
||||
public ApiConnection(IConnection connection) : this(connection, new ApiPagination<T>())
|
||||
{
|
||||
@@ -20,7 +20,7 @@ namespace Octokit.Http
|
||||
Ensure.ArgumentNotNull(pagination, "pagination");
|
||||
|
||||
Connection = connection;
|
||||
this.pagination = pagination;
|
||||
_pagination = pagination;
|
||||
}
|
||||
|
||||
protected IConnection Connection { get; private set; }
|
||||
@@ -52,7 +52,7 @@ namespace Octokit.Http
|
||||
{
|
||||
Ensure.ArgumentNotNull(endpoint, "endpoint");
|
||||
|
||||
return await pagination.GetAllPages(async () => await GetPage(endpoint, parameters));
|
||||
return await _pagination.GetAllPages(async () => await GetPage(endpoint, parameters));
|
||||
}
|
||||
|
||||
public async Task<T> Create(Uri endpoint, object data)
|
||||
|
||||
Reference in New Issue
Block a user