예제 #1
0
        public ObservableGistsClient(IGitHubClient client)
        {
            Ensure.ArgumentNotNull(client, "client");

            _client = client.Gist;
            Comment = new ObservableGistCommentsClient(client);
        }
예제 #2
0
        public ObservableGistsClient(IGitHubClient client)
        {
            Ensure.ArgumentNotNull(client, "client");

            _client = client.Gist;
            Comment = new ObservableGistCommentsClient(client);
        }
예제 #3
0
        public ObservableGistsClient(IGitHubClient client)
        {
            Ensure.ArgumentNotNull(client, nameof(client));

            _client     = client.Gist;
            _connection = client.Connection;
            Comment     = new ObservableGistCommentsClient(client);
        }
            public TheGetAllForGistMethod()
            {
                var github = Helper.GetAuthenticatedClient();

                _gistCommentsClient = new ObservableGistCommentsClient(github);
            }