1 write to Cells
Microsoft.Extensions.DataIngestion.Abstractions (1)
IngestionDocumentElement.cs (1)
179
Cells
= Throw.IfNull(cells);
17 references to Cells
Microsoft.Extensions.DataIngestion (5)
Chunkers\ElementsChunker.cs (4)
83
AddMarkdownTableSeparatorRow(columnCount: table.
Cells
.GetLength(1), ref tableBuilder);
103
int rowCount = table.
Cells
.GetLength(0);
238
for (int columnIndex = 0; columnIndex < table.
Cells
.GetLength(1); columnIndex++)
242
string? cellContent = table.
Cells
[rowIndex, columnIndex] switch
Processors\ImageAlternativeTextEnricher.cs (1)
60
foreach (var cell in table.
Cells
)
Microsoft.Extensions.DataIngestion.Tests (12)
Readers\DocumentReaderConformanceTests.cs (3)
147
Assert.Equal(5, documentTable.
Cells
.GetLength(0));
148
Assert.Equal(4, documentTable.
Cells
.GetLength(1));
150
Assert.Equal(expected, documentTable.
Cells
.Map(NormalizeCell));
Readers\MarkdownReaderTests.cs (9)
47
Assert.Equal(5, documentTable.
Cells
.GetLength(0));
48
Assert.Equal(4, documentTable.
Cells
.GetLength(1));
59
Assert.Equal(expected, documentTable.
Cells
.Map(element => element!.GetMarkdown().Trim()));
119
Assert.Equal(2, table.
Cells
.GetLength(0));
120
Assert.Equal(2, table.
Cells
.GetLength(1));
125
Assert.Equal("**Years**", table.
Cells
[0, 0]!.GetMarkdown().Trim());
126
Assert.Equal("**Logo**", table.
Cells
[0, 1]!.GetMarkdown().Trim());
127
Assert.Equal("2020-2025", table.
Cells
[1, 0]!.GetMarkdown().Trim());
129
IngestionDocumentImage img = Assert.IsType<IngestionDocumentImage>(table.
Cells
[1, 1]);