Beispiel #1
0
        internal BuildTypeBuildsCollection(BuildType buildType, BuildsCollection builds)
            : base(builds)
        {
            Verify.Argument.IsNotNull(buildType, nameof(buildType));

            _buildType = buildType;
        }
Beispiel #2
0
        public TeamCityServiceContext(Uri serviceUri, string username, string password)
        {
            _syncRoot   = new object();
            _serviceUri = serviceUri;
            _passphrase = GetPassphrase(username, password);

            _projects   = new ProjectsCollection(this);
            _buildTypes = new BuildTypesCollection(this);
            _builds     = new BuildsCollection(this);
        }