コード例 #1
0
            public TheUpdateReviewEnforcementMethod()
            {
                var github = Helper.GetAuthenticatedClient();

                _client = new ObservableRepositoryBranchesClient(github);

                _userRepoContext = github.CreateRepositoryWithProtectedBranch().Result;
                _orgRepoContext  = github.CreateOrganizationRepositoryWithProtectedBranch().Result;
            }
コード例 #2
0
 public TheRemoveReviewEnforcementMethod()
 {
     _github = Helper.GetAuthenticatedClient();
     _client = new ObservableRepositoryBranchesClient(_github);
 }
コード例 #3
0
 public TheDeleteBranchProtectionMethod()
 {
     _github = Helper.GetAuthenticatedClient();
     _client = new ObservableRepositoryBranchesClient(_github);
 }