public static OrchestratedBuildModel Parse(XElement xml) => new OrchestratedBuildModel(BuildIdentity.Parse(xml))
 {
     Endpoints = xml.Elements("Endpoint").Select(EndpointModel.Parse).ToList(),
     Builds    = xml.Elements("Build").Select(BuildIdentity.Parse).ToList()
 };
示例#2
0
 public static BuildModel Parse(XElement xml) => new BuildModel(BuildIdentity.Parse(xml))
 {
     Artifacts = ArtifactSet.Parse(xml)
 };
示例#3
0
 public static BuildModel Parse(XElement xml) => new BuildModel(BuildIdentity.Parse(xml))
 {
     Artifacts          = ArtifactSet.Parse(xml),
     SigningInformation = SigningInformationModel.Parse(xml.Element("SigningInformation")),
 };