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

            _buildType = buildType;
        }
示例#2
0
 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);
 }
示例#3
0
文件: Build.cs 项目: Kuzq/gitter
 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);
 }