Пример #1
0
        internal TeamResource(TeamsEndPoint teamsEndPoint, string teamName)
            : base(teamsEndPoint, teamName.CheckIsNotNullNorEmpty(nameof(teamName)).GuidOrValue())
        {
            _teamName = teamName;

            _repositoriesResource = new Lazy <RepositoriesAccountResource>(
                () => new RepositoriesEndPoint(_sharpBucketV2).RepositoriesResource(teamName));
        }
Пример #2
0
 public void Init()
 {
     sharpBucket = TestHelpers.GetV2ClientAuthenticatedWithBasicAuthentication();
      teamsEndPoint = sharpBucket.TeamsEndPoint(TEAM_NAME);
 }