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

            _buildType = buildType;
        }
Exemplo n.º 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);
        }