示例#1
0
        internal ProjectBuildTypesCollection(Project project, BuildTypesCollection buildTypes)
            : base(buildTypes)
        {
            Verify.Argument.IsNotNull(project, "project");

            _project = project;
        }
示例#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);
        }