public override void MakeSchemaCompliant() { base.MakeSchemaCompliant(); WestBoundLongitude.MakeSchemaCompliant(); EastBoundLongitude.MakeSchemaCompliant(); SouthBoundLatitude.MakeSchemaCompliant(); NorthBoundLatitude.MakeSchemaCompliant(); }
public override void WriteXml(XmlWriter writer) { writer.WriteElementString("westBoundLongitude", Namespace, WestBoundLongitude.ToString(NumberFormatInfo.InvariantInfo)); writer.WriteElementString("eastBoundLongitude", Namespace, EastBoundLongitude.ToString(NumberFormatInfo.InvariantInfo)); writer.WriteElementString("northBoundLatitude", Namespace, NorthBoundLatitude.ToString(NumberFormatInfo.InvariantInfo)); writer.WriteElementString("southBoundLatitude", Namespace, SouthBoundLatitude.ToString(NumberFormatInfo.InvariantInfo)); }