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")),
 };