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