示例#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();
        }
示例#2
0
 public BaseStepSerializer(BaseStep step)
 {
     this._step = step;
 }