public override XElement ToXElement(string @namespace) { return(new XElement(XName.Get("Attribution", @namespace), new XElement(XName.Get("Title", @namespace), Title), OnlineResource.ToXElement(@namespace), LogoURL.ToXElement(@namespace))); }
public override XElement ToXElement(string @namespace) { return(new XElement(XName.Get("StyleURL", @namespace), new XAttribute(XName.Get("type"), Type), new XElement(XName.Get("Format", @namespace), Format), OnlineResource.ToXElement(@namespace))); }
public override XElement ToXElement(string @namespace) { return(new XElement(XName.Get("LegendURL", @namespace), new XAttribute(XName.Get("width"), Width.ToString(NumberFormatInfo.InvariantInfo)), new XAttribute(XName.Get("height"), Height.ToString(NumberFormatInfo.InvariantInfo)), new XElement(XName.Get("Format", @namespace), Format), OnlineResource.ToXElement(@namespace))); }