コード例 #1
0
        public override IRelationship CreateRelationship()
        {
            var relationshipElement = new XElement(TAG_RELATIONSHIP);
            var relationship        = new XMindRelationship(relationshipElement, this);

            _adaptableRegistry.RegisterByNode(relationship, relationship.Implementation);
            return(relationship);
        }
コード例 #2
0
        public override ISheet CreateSheet()
        {
            var sheetElement = new XElement(TAG_SHEET);
            // GetWorkbookElement().Add(sheetElement);
            XMindSheet sheet = new XMindSheet(sheetElement, this);

            _adaptableRegistry.RegisterByNode(sheet, sheet.Implementation);
            return(sheet);
        }