示例#1
0
 protected override void Serializing(XmlWriter writer)
 {
     writer.WriteAttributeString(_attrSamplerate.Name, _attrSamplerate.Serialize());
     writer.WriteAttributeString(_attrDataType.Name, _attrDataType.Serialize());
     writer.WriteAttributeString(_attrFilePath.Name, _attrFilePath.Serialize());
     base.Serializing(writer);
 }
示例#2
0
 protected override void Serializing(XmlWriter writer)
 {
     writer.WriteAttributeString(_attrNumOfLines1D.Name, _attrNumOfLines1D.Serialize());
     writer.WriteAttributeString(_attrNumOfLines2D.Name, _attrNumOfLines2D.Serialize());
     writer.WriteAttributeString(_attrPrebufferLengthMs.Name, _attrPrebufferLengthMs.Serialize());
 }