Beispiel #1
0
        public ObservableWatchedClient(IGitHubClient client)
        {
            Ensure.ArgumentNotNull(client, "client");

            _client     = client.Activity.Watching;
            _connection = client.Connection;
        }
        public ObservableWatchedClient(IGitHubClient client)
        {
            Ensure.ArgumentNotNull(client, "client");

            _client = client.Activity.Watching;
            _connection = client.Connection;
        }
Beispiel #3
0
            public TheCheckWatchedMethod()
            {
                var github = Helper.GetAuthenticatedClient();

                _watchingClient = github.Activity.Watching;

                _context = github.CreateRepositoryContext("public-repo").Result;
            }
Beispiel #4
0
            public TheUnwatchRepoMethod()
            {
                var gitHubClient = Helper.GetAuthenticatedClient();

                _watchingClient = gitHubClient.Activity.Watching;
            }
            public TheUnwatchRepoMethod()
            {
                var gitHubClient = Helper.GetAuthenticatedClient();

                _watchingClient = gitHubClient.Activity.Watching;
            }
            public TheCheckWatchedMethod()
            {
                var github = Helper.GetAuthenticatedClient();

                _watchingClient = github.Activity.Watching;

                _context = github.CreateRepositoryContext("public-repo").Result;
            }