Exemplo n.º 1
0
 public System(XElement source, System parent)
     : this(source.Attribute("Title") != null ? source.Attribute("Title").Value : Resources.DefaultFilename,
            null)
 {
     foreach (var child in source.Elements())
     {
         if (child.Name.LocalName == Resources.SubsystemTagName)
         {
             AddComponent(new System(child, this));
         }
         else if (child.Name.LocalName == Resources.SequenceTagName)
         {
             AddComponent(new Sequence(child, this));
         }
     }
 }
Exemplo n.º 2
0
 public void AddConnector(System start, System end)
 {
     AddComponent(new Connector(start, end));
 }
Exemplo n.º 3
0
 public System(String title, System parent)
     : base(title, parent)
 {
     _components = new List<Component>();
 }
Exemplo n.º 4
0
 public Sequence(XElement source, System parent)
 {
 }
Exemplo n.º 5
0
 public Connector(System start, System end)
 {
     Start = start;
        End = end;
 }