Exemplo n.º 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;
        }
Exemplo n.º 3
0
            public TheCheckWatchedMethod()
            {
                var github = Helper.GetAuthenticatedClient();

                _watchingClient = github.Activity.Watching;

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

                _watchingClient = gitHubClient.Activity.Watching;
            }
Exemplo n.º 5
0
            public TheUnwatchRepoMethod()
            {
                var gitHubClient = Helper.GetAuthenticatedClient();

                _watchingClient = gitHubClient.Activity.Watching;
            }
Exemplo n.º 6
0
            public TheCheckWatchedMethod()
            {
                var github = Helper.GetAuthenticatedClient();

                _watchingClient = github.Activity.Watching;

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