1 using System;
2 using System.Collections;
3
4
5
6
7
8 namespace System.Dom
9 {
10 public class DocumentFragment : ParentNode
11 {
12 public suppress DocumentFragment(const DocumentFragment&);
13 public suppress DocumentFragment(DocumentFragment&&);
14 public DocumentFragment() :
15 base(NodeType.documentFragmentNode, u"document_fragment")
16 {
17 }
18 public suppress DocumentFragment& operator=(const DocumentFragment&);
19 public suppress DocumentFragment& operator=(DocumentFragment&&);
20 public override UniquePtr<Node> CloneNode(bool deep)
21 {
22 UniquePtr<Node> clonedDocumentFragment(new DocumentFragment());
23 if (deep)
24 {
25 ParentNode* parentNode = cast<ParentNode*>(clonedDocumentFragment.Get());
26 CloneChildrenTo(parentNode);
27 }
28 return clonedDocumentFragment;
29 }
30 }
31 }