6 writes to Sections
Microsoft.Extensions.DataIngestion.Markdig (1)
MarkdownParser.cs (1)
44Sections = { rootSection }
Microsoft.Extensions.DataIngestion.MarkItDown (1)
src\Libraries\Microsoft.Extensions.DataIngestion.Markdig\MarkdownParser.cs (1)
44Sections = { rootSection }
Microsoft.Extensions.DataIngestion.Tests (4)
Chunkers\SectionChunkerTests.cs (2)
44Sections = 93Sections =
Processors\AlternativeTextEnricherTests.cs (2)
97Sections = 201Sections = { rootSection }
20 references to Sections
Microsoft.Extensions.DataIngestion (2)
Chunkers\SectionChunker.cs (2)
13/// Treats each <see cref="IngestionDocumentSection" /> in a <see cref="IngestionDocument.Sections"/> as a separate entity. 34foreach (IngestionDocumentSection section in document.Sections)
Microsoft.Extensions.DataIngestion.Abstractions (2)
IngestionDocument.cs (2)
46for (int sectionIndex = Sections.Count - 1; sectionIndex >= 0; sectionIndex--) 48elementsToProcess.Push(Sections[sectionIndex]);
Microsoft.Extensions.DataIngestion.Tests (16)
Chunkers\HeaderChunkerTests.cs (5)
19doc.Sections.Add(new() 60doc.Sections.Add(new() 85doc.Sections.Add(new() 107doc.Sections.Add(new() 234doc.Sections.Add(new()
Chunkers\SectionChunkerTests.cs (4)
24doc.Sections.Add(new IngestionDocumentSection 79doc.Sections.Add(new IngestionDocumentSection 148doc.Sections.Add(new IngestionDocumentSection 167doc.Sections.Add(new IngestionDocumentSection
Chunkers\SemanticSimilarityChunkerTests.cs (3)
38doc.Sections.Add(new IngestionDocumentSection 70doc.Sections.Add(new IngestionDocumentSection 140doc.Sections.Add(new IngestionDocumentSection
IngestionDocumentTests.cs (2)
23doc.Sections.Add(new IngestionDocumentSection("first section") 40doc.Sections.Add(new IngestionDocumentSection("second section")
Readers\DocumentReaderConformanceTests.cs (1)
203Assert.NotEmpty(document.Sections);
Readers\MarkItDownReaderTests.cs (1)
24Assert.NotEmpty(document.Sections);