101 instantiations of ExtractionDocumentSection
Microsoft.Extensions.DocumentExtraction.Abstractions.Tests (5)
DelegatingDocumentExtractionClientTests.cs (1)
67
ExtractionDocumentSection section =
new
();
DocumentExtractionDocumentBuilderTests.cs (4)
115
ExtractionDocumentSection root =
new
(new TextContent("supplied section"));
116
ExtractionDocumentSection nested =
new
(new TextContent("supplied nested"));
175
ExtractionDocumentSection section =
new
();
219
result.Sections.Add(
new
());
Microsoft.Extensions.DocumentExtraction.Tests (3)
DocumentExtractionMiddlewareTests.cs (3)
250
ExtractionDocumentSection section =
new
();
374
ExtractionDocumentSection section =
new
();
527
ExtractionDocumentSection section =
new
();
Microsoft.Extensions.Documents.Abstractions.Tests (93)
DocumentElementTests.cs (11)
18
ExtractionDocumentSection section =
new
(null);
59
ExtractionDocumentSection section =
new
(null);
96
ExtractionDocumentSection section =
new
(null);
108
ExtractionDocumentSection section =
new
(null);
127
ExtractionDocumentSection section =
new
(null);
134
ExtractionDocumentSection child =
new
(null);
149
ExtractionDocumentSection section =
new
(null);
169
ExtractionDocumentSection section =
new
(null);
192
ExtractionDocumentSection section =
new
(null);
221
ExtractionDocumentSection section =
new
(null);
240
ExtractionDocumentSection section =
new
(null);
DocumentExtensionElementTests.cs (1)
77
ExtractionDocumentSection section =
new
(null);
DocumentImageElementTests.cs (2)
63
ExtractionDocumentSection section =
new
(null);
101
ExtractionDocumentSection section =
new
(null);
DocumentReferencesTests.cs (1)
214
ExtractionDocumentSection section =
new
(null);
DocumentReviewFollowUpTests.cs (10)
19
ExtractionDocumentSection section =
new
();
48
ExtractionDocumentSection section =
new
();
69
ExtractionDocumentSection root =
new
();
70
ExtractionDocumentSection child =
new
();
87
ExtractionDocumentSection section =
new
();
101
ExtractionDocumentSection root =
new
(new TextContent("local"));
102
ExtractionDocumentSection shared =
new
();
131
ExtractionDocumentSection section =
new
();
146
ExtractionDocumentSection section =
new
();
189
ExtractionDocumentSection section =
new
();
DocumentSectionTests.cs (4)
16
ExtractionDocumentSection section =
new
(new TextContent("stored section markdown"));
25
ExtractionDocumentSection section =
new
(new TextContent("stored section markdown"));
36
ExtractionDocumentSection root =
new
(null);
38
ExtractionDocumentSection nested =
new
(null);
DocumentTableCellCollectionTests.cs (14)
42
ExtractionDocumentSection section =
new
(null);
82
ExtractionDocumentSection section =
new
(null);
131
ExtractionDocumentSection root =
new
();
159
ExtractionDocumentSection mixed =
new
();
254
ExtractionDocumentSection root =
new
();
256
ExtractionDocumentSection mixed =
new
();
318
ExtractionDocumentSection section =
new
();
331
ExtractionDocumentSection section =
new
(null);
356
ExtractionDocumentSection section =
new
(null);
386
ExtractionDocumentSection section =
new
(null);
422
ExtractionDocumentSection section =
new
(null);
437
ExtractionDocumentSection section =
new
(null);
478
ExtractionDocumentSection otherSection =
new
(null);
512
ExtractionDocumentSection section =
new
(null);
DocumentTableCellTests.cs (7)
17
ExtractionDocumentSection section =
new
(null);
35
ExtractionDocumentSection firstSection =
new
(null);
36
ExtractionDocumentSection secondSection =
new
(null);
76
ExtractionDocumentSection section =
new
(null);
116
ExtractionDocumentSection section =
new
(null);
174
ExtractionDocumentSection first =
new
(null);
175
ExtractionDocumentSection second =
new
(null);
DocumentTableElementTests.cs (7)
58
ExtractionDocumentSection section =
new
(null);
231
ExtractionDocumentSection section =
new
(null);
256
ExtractionDocumentSection section =
new
(null);
301
ExtractionDocumentSection section =
new
(null);
340
ExtractionDocumentSection section =
new
(null);
363
ExtractionDocumentSection section =
new
(null);
386
ExtractionDocumentSection section =
new
(null);
DocumentTests.Composition.cs (3)
29
ExtractionDocumentSection section =
new
(null);
84
ExtractionDocumentSection section =
new
(null);
85
ExtractionDocumentSection nested =
new
(null);
DocumentTests.cs (12)
55
ExtractionDocumentSection section =
new
(null);
75
ExtractionDocumentSection first =
new
(null);
76
ExtractionDocumentSection second =
new
(null);
112
ExtractionDocumentSection first =
new
(null);
114
ExtractionDocumentSection nested =
new
(null);
119
ExtractionDocumentSection second =
new
(null);
143
ExtractionDocumentSection root =
new
(null);
144
ExtractionDocumentSection nested =
new
(null);
166
ExtractionDocumentSection first =
new
(null);
167
ExtractionDocumentSection second =
new
(null);
193
document.Sections.Add(new
ExtractionDocumentSection
());
231
ExtractionDocumentSection section =
new
(null);
DocumentTests.StandardContent.cs (17)
36
ExtractionDocumentSection section =
new
(new TextContent(markdown));
50
ExtractionDocumentSection inner =
new
();
51
ExtractionDocumentSection outer =
new
();
73
ExtractionDocumentSection section =
new
();
91
ExtractionDocumentSection section =
new
(new TextContent(string.Empty));
108
ExtractionDocumentSection section =
new
();
123
ExtractionDocumentSection section =
new
();
148
ExtractionDocumentSection section =
new
(payload);
166
ExtractionDocumentSection section =
new
(new TextContent("section introduction"));
167
ExtractionDocumentSection transparent =
new
();
192
ExtractionDocumentSection section =
new
();
217
ExtractionDocumentSection section =
new
(owner == "section" ? payload : null);
238
ExtractionDocumentSection section =
new
();
331
"section" => new
ExtractionDocumentSection
(payload),
338
ExtractionDocumentSection section =
new
();
372
ExtractionDocumentSection section =
new
();
388
ExtractionDocumentSection section =
new
();
DocumentTextElementTests.cs (2)
33
ExtractionDocumentSection section =
new
(null);
118
ExtractionDocumentSection section =
new
(null);
PreviewContractTests.cs (2)
44
ExtractionDocumentElement[] elements = [new
ExtractionDocumentSection
(), new ExtractionDocumentTableElement(null, 1, 1), new ExtractionDocumentImageElement(), new CustomElement()];
93
ExtractionDocumentSection section =
new
();
108 references to ExtractionDocumentSection
Microsoft.Extensions.DocumentExtraction.Abstractions.Tests (4)
DelegatingDocumentExtractionClientTests.cs (1)
67
ExtractionDocumentSection
section = new();
DocumentExtractionDocumentBuilderTests.cs (3)
115
ExtractionDocumentSection
root = new(new TextContent("supplied section"));
116
ExtractionDocumentSection
nested = new(new TextContent("supplied nested"));
175
ExtractionDocumentSection
section = new();
Microsoft.Extensions.DocumentExtraction.Tests (3)
DocumentExtractionMiddlewareTests.cs (3)
250
ExtractionDocumentSection
section = new();
374
ExtractionDocumentSection
section = new();
527
ExtractionDocumentSection
section = new();
Microsoft.Extensions.Documents.Abstractions (7)
ExtractionDocument.cs (6)
36
public List<
ExtractionDocumentSection
> Sections { get; } = [];
62
HashSet<
ExtractionDocumentSection
> path = [];
63
foreach (
ExtractionDocumentSection
section in Sections)
73
ExtractionDocumentSection
section, HashSet<
ExtractionDocumentSection
> path)
89
if (element is
ExtractionDocumentSection
nestedSection)
ExtractionDocumentElement.cs (1)
51
/// <summary>Initializes a new instance of the <see cref="
ExtractionDocumentSection
"/> class.</summary>
Microsoft.Extensions.Documents.Abstractions.Tests (94)
DocumentElementTests.cs (11)
18
ExtractionDocumentSection
section = new(null);
59
ExtractionDocumentSection
section = new(null);
96
ExtractionDocumentSection
section = new(null);
108
ExtractionDocumentSection
section = new(null);
127
ExtractionDocumentSection
section = new(null);
134
ExtractionDocumentSection
child = new(null);
149
ExtractionDocumentSection
section = new(null);
169
ExtractionDocumentSection
section = new(null);
192
ExtractionDocumentSection
section = new(null);
221
ExtractionDocumentSection
section = new(null);
240
ExtractionDocumentSection
section = new(null);
DocumentExtensionElementTests.cs (2)
24
typeof(ExtractionDocument), typeof(ExtractionDocumentElement), typeof(
ExtractionDocumentSection
),
77
ExtractionDocumentSection
section = new(null);
DocumentImageElementTests.cs (2)
63
ExtractionDocumentSection
section = new(null);
101
ExtractionDocumentSection
section = new(null);
DocumentReferencesTests.cs (1)
214
ExtractionDocumentSection
section = new(null);
DocumentReviewFollowUpTests.cs (11)
19
ExtractionDocumentSection
section = new();
20
Assert.IsType<List<
ExtractionDocumentSection
>>(document.Sections);
48
ExtractionDocumentSection
section = new();
69
ExtractionDocumentSection
root = new();
70
ExtractionDocumentSection
child = new();
87
ExtractionDocumentSection
section = new();
101
ExtractionDocumentSection
root = new(new TextContent("local"));
102
ExtractionDocumentSection
shared = new();
131
ExtractionDocumentSection
section = new();
146
ExtractionDocumentSection
section = new();
189
ExtractionDocumentSection
section = new();
DocumentSectionTests.cs (4)
16
ExtractionDocumentSection
section = new(new TextContent("stored section markdown"));
25
ExtractionDocumentSection
section = new(new TextContent("stored section markdown"));
36
ExtractionDocumentSection
root = new(null);
38
ExtractionDocumentSection
nested = new(null);
DocumentTableCellCollectionTests.cs (14)
42
ExtractionDocumentSection
section = new(null);
82
ExtractionDocumentSection
section = new(null);
131
ExtractionDocumentSection
root = new();
159
ExtractionDocumentSection
mixed = new();
254
ExtractionDocumentSection
root = new();
256
ExtractionDocumentSection
mixed = new();
318
ExtractionDocumentSection
section = new();
331
ExtractionDocumentSection
section = new(null);
356
ExtractionDocumentSection
section = new(null);
386
ExtractionDocumentSection
section = new(null);
422
ExtractionDocumentSection
section = new(null);
437
ExtractionDocumentSection
section = new(null);
478
ExtractionDocumentSection
otherSection = new(null);
512
ExtractionDocumentSection
section = new(null);
DocumentTableCellTests.cs (7)
17
ExtractionDocumentSection
section = new(null);
35
ExtractionDocumentSection
firstSection = new(null);
36
ExtractionDocumentSection
secondSection = new(null);
76
ExtractionDocumentSection
section = new(null);
116
ExtractionDocumentSection
section = new(null);
174
ExtractionDocumentSection
first = new(null);
175
ExtractionDocumentSection
second = new(null);
DocumentTableElementTests.cs (7)
58
ExtractionDocumentSection
section = new(null);
231
ExtractionDocumentSection
section = new(null);
256
ExtractionDocumentSection
section = new(null);
301
ExtractionDocumentSection
section = new(null);
340
ExtractionDocumentSection
section = new(null);
363
ExtractionDocumentSection
section = new(null);
386
ExtractionDocumentSection
section = new(null);
DocumentTests.Composition.cs (3)
29
ExtractionDocumentSection
section = new(null);
84
ExtractionDocumentSection
section = new(null);
85
ExtractionDocumentSection
nested = new(null);
DocumentTests.cs (12)
55
ExtractionDocumentSection
section = new(null);
75
ExtractionDocumentSection
first = new(null);
76
ExtractionDocumentSection
second = new(null);
112
ExtractionDocumentSection
first = new(null);
114
ExtractionDocumentSection
nested = new(null);
119
ExtractionDocumentSection
second = new(null);
143
ExtractionDocumentSection
root = new(null);
144
ExtractionDocumentSection
nested = new(null);
152
Assert.All(content, element => Assert.False(element is
ExtractionDocumentSection
));
166
ExtractionDocumentSection
first = new(null);
167
ExtractionDocumentSection
second = new(null);
231
ExtractionDocumentSection
section = new(null);
DocumentTests.StandardContent.cs (17)
36
ExtractionDocumentSection
section = new(new TextContent(markdown));
50
ExtractionDocumentSection
inner = new();
51
ExtractionDocumentSection
outer = new();
73
ExtractionDocumentSection
section = new();
91
ExtractionDocumentSection
section = new(new TextContent(string.Empty));
108
ExtractionDocumentSection
section = new();
123
ExtractionDocumentSection
section = new();
148
ExtractionDocumentSection
section = new(payload);
166
ExtractionDocumentSection
section = new(new TextContent("section introduction"));
167
ExtractionDocumentSection
transparent = new();
192
ExtractionDocumentSection
section = new();
217
ExtractionDocumentSection
section = new(owner == "section" ? payload : null);
238
ExtractionDocumentSection
section = new();
338
ExtractionDocumentSection
section = new();
342
if (element is
ExtractionDocumentSection
)
372
ExtractionDocumentSection
section = new();
388
ExtractionDocumentSection
section = new();
DocumentTextElementTests.cs (2)
33
ExtractionDocumentSection
section = new(null);
118
ExtractionDocumentSection
section = new(null);
PreviewContractTests.cs (1)
93
ExtractionDocumentSection
section = new();