3 overrides of ReadAsync
Microsoft.Extensions.DataIngestion.Markdig (1)
MarkdownReader.cs (1)
17
public override async Task<IngestionDocument>
ReadAsync
(FileInfo source, string identifier, string? mediaType = null, CancellationToken cancellationToken = default)
Microsoft.Extensions.DataIngestion.MarkItDown (2)
MarkItDownMcpReader.cs (1)
36
public override async Task<IngestionDocument>
ReadAsync
(FileInfo source, string identifier, string? mediaType = null, CancellationToken cancellationToken = default)
MarkItDownReader.cs (1)
34
public override async Task<IngestionDocument>
ReadAsync
(FileInfo source, string identifier, string? mediaType = null, CancellationToken cancellationToken = default)
3 references to ReadAsync
Microsoft.Extensions.DataIngestion.Abstractions (1)
IngestionDocumentReader.cs (1)
27
return
ReadAsync
(source, identifier, GetMediaType(source), cancellationToken);
Microsoft.Extensions.DataIngestion.Tests (2)
Readers\DocumentReaderConformanceTests.cs (2)
27
await Assert.ThrowsAsync<ArgumentNullException>("identifier", async () => await reader.
ReadAsync
(new FileInfo("fileName.txt"), identifier: null!));
28
await Assert.ThrowsAsync<ArgumentException>("identifier", async () => await reader.
ReadAsync
(new FileInfo("fileName.txt"), identifier: string.Empty));