상속: Glyma.UtilityService.Export.IBIS.Common.Model.Xml.XmlElementBase
예제 #1
0
        public override void CreateElement()
        {
            var xmlLink = Doc.CreateElement(string.Empty, "link", string.Empty);
            foreach (var attributeKeyPair in Attributes)
            {
                xmlLink.Attributes.Append(attributeKeyPair.Value);
            }

            var xmlLinkViews = Doc.CreateElement(string.Empty, "linkviews", string.Empty);

            var linkView = new LinkView(_mapId, _originNode, Doc, xmlLinkViews, this.LinkType);
            linkView.CreateElement();

            xmlLink.AppendChild(xmlLinkViews);
            Parent.AppendChild(xmlLink);
            base.CreateElement();
        }
예제 #2
0
        public override void CreateElement()
        {
            var xmlLink = Doc.CreateElement(string.Empty, "link", string.Empty);

            foreach (var attributeKeyPair in Attributes)
            {
                xmlLink.Attributes.Append(attributeKeyPair.Value);
            }

            var xmlLinkViews = Doc.CreateElement(string.Empty, "linkviews", string.Empty);

            var linkView = new LinkView(_mapId, _originNode, Doc, xmlLinkViews, this.LinkType);

            linkView.CreateElement();

            xmlLink.AppendChild(xmlLinkViews);
            Parent.AppendChild(xmlLink);
            base.CreateElement();
        }