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() };
public static BuildModel Parse(XElement xml) => new BuildModel(BuildIdentity.Parse(xml)) { Artifacts = ArtifactSet.Parse(xml) };
public static BuildModel Parse(XElement xml) => new BuildModel(BuildIdentity.Parse(xml)) { Artifacts = ArtifactSet.Parse(xml), SigningInformation = SigningInformationModel.Parse(xml.Element("SigningInformation")), };