internal BuildTypeBuildsCollection(BuildType buildType, BuildsCollection builds) : base(builds) { Verify.Argument.IsNotNull(buildType, nameof(buildType)); _buildType = buildType; }
internal Build(TeamCityServiceContext context, XmlNode node) : base(context, node) { _status = TeamCityUtility.LoadBuildStatus(node.Attributes[StatusProperty.XmlNodeName]); _number = TeamCityUtility.LoadString(node.Attributes[NumberProperty.XmlNodeName]); _startDate = TeamCityUtility.LoadDateForSure(node.Attributes[StartDateProperty.XmlNodeName]); _buildtype = Context.BuildTypes.Lookup(node.Attributes[BuildTypeProperty.XmlNodeName].InnerText); }