Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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");
 }
Ejemplo 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");
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }