/// <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, "kilogramsPerSquareMetre", 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, "teslas", 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, "radiansPerSecondCubed", reader, "Value"); }