Example #1
0
        public void CustomContext()
        {
            var context = new GitHubApiContext();

            var api = new GitHubApi(context);

            api.Context.Should().BeSameAs(context);
        }
Example #2
0
        public GitHubApiBase(GitHubApiContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            Context = context;
        }
Example #3
0
 public GitHubApi(GitHubApiContext context) : base(context)
 {
 }
Example #4
0
 public CreateIssuesApi(GitHubApiContext context) : base(context)
 {
 }
Example #5
0
 public MembersApi(GitHubApiContext context)
     : base(context)
 {
 }
Example #6
0
 public GitHubApi(GitHubApiContext context) : base(context)
 {
 }
Example #7
0
 public MembersApi(GitHubApiContext context)
     : base(context)
 {
 }
Example #8
0
 public MyReposApi(GitHubApiContext context) : base(context)
 {
      
 }