internal StyleType() { this.Name = string.Empty; this.Title = string.Empty; this.Abstract = string.Empty; this.StyleUri = new UriAndFormatType(); this.StyleSheetUri = new UriAndFormatType(); this.LegendUri = new LogoOrLegendUriType(); }
private static LogoOrLegendUriType GetLogoOrLegendUriInstance(System.Xml.XPath.XPathNavigator node, string pattern) { System.Xml.XPath.XPathNodeIterator iter = node.Select(Capabilities.ExpandPattern(pattern)); LogoOrLegendUriType retVal = new LogoOrLegendUriType(); if (iter.MoveNext()) { UriAndFormatType[] t = GetUriAndFormatInstances(iter.Current, @"."); if (t.Length > 0) { retVal.Uri = t[0]; } retVal.Width = double.Parse(Capabilities.GetStringInstance(iter.Current, @"./@Width")); retVal.Height = double.Parse(Capabilities.GetStringInstance(iter.Current, @"./@Height")); } return(retVal); }
internal AttributionType() { this.Title = string.Empty; this.Uri = string.Empty; this.LogoUri = new LogoOrLegendUriType(); }