Example #1
0
        public void ReadXml(XmlReader reader)
        {
            Type type = Type.GetType(reader.GetAttribute("type"));

            reader.ReadStartElement();
            this._step = (BaseStep) new
                         XmlSerializer(type).Deserialize(reader);
            reader.ReadEndElement();
        }
Example #2
0
 public BaseStepSerializer(BaseStep step)
 {
     this._step = step;
 }