/// <summary> /// Serialize this object to the given serializer. /// </summary> public override void WriteTo(IXmlSerializer serializer) { serializer.Attribute(name.NamespaceName, name.LocalName, value); }