コード例 #1
0
        internal override void WriteXML(XmlWriter writer)
        {
            writer.WriteStartElement("Location");
            _location.WriteXML(writer);
            writer.WriteEndElement();

            writer.WriteStartElement("RefDirection");
            _refDirection.WriteXML(writer);
            writer.WriteEndElement();
        }
コード例 #2
0
ファイル: StepVector.cs プロジェクト: ZhangWebber/Step2XML
 internal override void WriteXML(XmlWriter writer)
 {
     writer.WriteStartElement(ItemType.GetItemTypeElementString());
     _direction.WriteXML(writer);
     writer.WriteEndElement();
 }