mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 10:55:53 +00:00
Prefer using nameof(x) over literal "x" (#1781)
* updated XML docs and added some missing bits. * prefer nameof(x) over literal "x"
This commit is contained in:
committed by
Ryan Gribble
parent
c223f5ae9a
commit
4e804f61a6
@@ -13,8 +13,8 @@ namespace Octokit.Internal
|
||||
public ReadOnlyPagedCollection(IApiResponse<List<T>> response, Func<Uri, Task<IApiResponse<List<T>>>> nextPageFunc)
|
||||
: base(response != null ? response.Body ?? new List<T>() : new List<T>())
|
||||
{
|
||||
Ensure.ArgumentNotNull(response, "response");
|
||||
Ensure.ArgumentNotNull(nextPageFunc, "nextPageFunc");
|
||||
Ensure.ArgumentNotNull(response, nameof(response));
|
||||
Ensure.ArgumentNotNull(nextPageFunc, nameof(nextPageFunc));
|
||||
|
||||
_nextPageFunc = nextPageFunc;
|
||||
if (response != null)
|
||||
|
||||
Reference in New Issue
Block a user