public virtual void ReadXml(XmlReader reader)
 {
     reader.ReadStartElement("PortIndexCommand", Context.YttriumNamespace);
     _index   = int.Parse(reader.ReadElementString("Index"));
     _portRef = CommandReference.Deserialize("Port", reader);
     reader.ReadEndElement();
 }
 public virtual void ReadXml(XmlReader reader)
 {
     reader.ReadStartElement("PortBusCommand", Config.YttriumNamespace);
     _portRef = CommandReference.Deserialize("Port", reader);
     _busRef  = CommandReference.Deserialize("Bus", reader);
     reader.ReadEndElement();
 }
 public virtual void ReadXml(XmlReader reader)
 {
     reader.ReadStartElement("PortSignalCommand", Context.YttriumNamespace);
     _portRef   = CommandReference.Deserialize("Port", reader);
     _signalRef = CommandReference.Deserialize("Signal", reader);
     reader.ReadEndElement();
 }
Beispiel #4
0
 public virtual void ReadXml(XmlReader reader)
 {
     reader.ReadStartElement("NewCommand", Config.YttriumNamespace);
     _ref = CommandReference.Deserialize("New", reader);
     reader.ReadEndElement();
 }
Beispiel #5
0
 protected NewCommand(SerializationInfo info, StreamingContext context)
 {
     _ref = CommandReference.Deserialize("new", info);
 }
 protected AbstractPortCommand(SerializationInfo info, StreamingContext context)
 {
     _portRef = CommandReference.Deserialize("port", info);
 }
 protected PortBusCommand(SerializationInfo info, StreamingContext context)
 {
     _portRef = CommandReference.Deserialize("port", info);
     _busRef  = CommandReference.Deserialize("bus", info);
 }
 protected PortBusIndexCommand(SerializationInfo info, StreamingContext context)
 {
     _index   = info.GetInt32("idx");
     _portRef = CommandReference.Deserialize("port", info);
     _busRef  = CommandReference.Deserialize("bus", info);
 }
 protected PortSignalCommand(SerializationInfo info, StreamingContext context)
 {
     _portRef   = CommandReference.Deserialize("port", info);
     _signalRef = CommandReference.Deserialize("signal", info);
 }
Beispiel #10
0
 protected AbstractPortSignalIndexCommand(SerializationInfo info, StreamingContext context)
 {
     _index     = info.GetInt32("idx");
     _portRef   = CommandReference.Deserialize("port", info);
     _signalRef = CommandReference.Deserialize("signal", info);
 }
 protected AbstractSignalCommand(SerializationInfo info, StreamingContext context)
 {
     _signalRef = CommandReference.Deserialize("signal", info);
 }
Beispiel #12
0
 protected AbstractBusCommand(SerializationInfo info, StreamingContext context)
 {
     _busRef = CommandReference.Deserialize("bus", info);
 }