Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
 /// <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);
 }
 /// <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");
 }
Esempio n. 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");
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
 /// <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);
 }
 /// <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);
 }