Beispiel #1
0
 public XElement ToXElement()
 {
     return(new XElement("Process",
                         new XAttribute("Id", Id),
                         new XElement("Name", Name),
                         new XElement("IsExecutable", IsExecutable),
                         new XElement("ParticipantId", ParticipantId),
                         new XElement("CustomScript", CustomScript),
                         new XElement("SequenceFlows", SequenceFlows.Select(s => s.Value.ToXElement()).ToList()),
                         new XElement("ProcessElements", ProcessElements.Select(e => e.Value.ToXElement()).ToList())
                         ));
 }