예제 #1
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.newtonSecond);
 }
예제 #2
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.kilogramsPerSecond);
 }
예제 #3
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="T:System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.cubicMetres);
 }
예제 #4
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.metresPerNewton);
 }
예제 #5
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.steradians);
 }
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="T:System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.coulombs);
 }
예제 #7
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="T:System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.newtonsPerMetre);
 }
예제 #8
0
 /// <summary>
 /// Generates an object from its XML representation.
 /// </summary>
 /// <param name="reader">The <see cref="System.Xml.XmlReader"/> stream from which the object is deserialized. </param>
 public void ReadXml(XmlReader reader)
 {
     // Hacking set readonly fields here, can't think of a cleaner workaround
     XmlExt.SetReadonlyField(ref this, "katals", reader, "Value");
 }
예제 #9
0
 /// <summary>
 /// Generates an object from its XML representation.
 /// </summary>
 /// <param name="reader">The <see cref="System.Xml.XmlReader"/> stream from which the object is deserialized. </param>
 public void ReadXml(XmlReader reader)
 {
     // Hacking set readonly fields here, can't think of a cleaner workaround
     XmlExt.SetReadonlyField(ref this, "radiansPerSecondSquared", reader, "Value");
 }
예제 #10
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.radiansPerSecondSquared);
 }
예제 #11
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.metresPerSecondCubed);
 }
예제 #12
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="T:System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.joulesPerKilogram);
 }
예제 #13
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.metresPerUnitless);
 }
예제 #14
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.kilogramsPerCubicMetre);
 }
예제 #15
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.reciprocalMetres);
 }
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.squareMetresPerSecond);
 }
예제 #17
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="T:System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.scalar);
 }
예제 #18
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.katals);
 }
예제 #19
0
 /// <summary>
 /// Converts an object into its XML representation.
 /// </summary>
 /// <param name="writer">The <see cref="System.Xml.XmlWriter"/> stream to which the object is serialized. </param>
 public void WriteXml(XmlWriter writer)
 {
     XmlExt.WriteAttribute(writer, "Value", this.joulesPerKelvinMole);
 }