21 writes to ExtractorName
Microsoft.Extensions.DocumentExtraction.Abstractions (1)
DocumentExtractionOptions.cs (1)
37ExtractorName = ExtractorName
Microsoft.Extensions.DocumentExtraction.Abstractions.Tests (13)
DelegatingDocumentExtractionClientTests.cs (9)
26options.ExtractorName = "model:A"; 40options.ExtractorName = null; 54DocumentExtractionOptions options = new() { ExtractorName = "model:A" }; 55Assert.Throws<ArgumentException>("value", () => options.ExtractorName = invalid); 57options.ExtractorName = null; 113DocumentExtractionOptions options = new() { ExtractorName = "model:A" }; 133options.ExtractorName = "caller:B"; 137forwarded.ExtractorName = "provider:C"; 157DocumentExtractionOptions explicitOptions = new() { ExtractorName = "explicit" };
DocumentExtractionDocumentBuilderTests.cs (4)
182DocumentExtractionOptions? options = optionKind switch { 1 => new(), 2 => new() { ExtractorName = "opaque:selector" }, _ => null }; 259DocumentExtractionOptions options = new() { ExtractorName = "model:A" }; 262options.ExtractorName = "model:B"; 293DocumentExtractionOptions options = new() { ExtractorName = "provider:model" };
Microsoft.Extensions.DocumentExtraction.Tests (7)
DocumentExtractionMiddlewareTests.cs (7)
264DocumentExtractionOptions options = new() { ExtractorName = "OPTIONS_ONLY_93" }; 338DocumentExtractionOptions options = new() { ExtractorName = "OPTIONS_ONLY_93" }; 350options.ExtractorName = "caller changed"; 353forwarded.ExtractorName = "provider changed"; 573DocumentExtractionOptions options = new() { ExtractorName = "OPTIONS_ONLY_93" }; 616options.ExtractorName = "caller changed"; 622terminalOptions.ExtractorName = "terminal changed";
20 references to ExtractorName
Microsoft.Extensions.DocumentExtraction.Abstractions (1)
DocumentExtractionOptions.cs (1)
37ExtractorName = ExtractorName
Microsoft.Extensions.DocumentExtraction.Abstractions.Tests (11)
DelegatingDocumentExtractionClientTests.cs (9)
23Assert.Null(options.ExtractorName); 33Assert.Equal("model:A", copy.ExtractorName); 42Assert.Equal("model:A", copy.ExtractorName); 56Assert.Equal("model:A", options.ExtractorName); 58Assert.Null(options.ExtractorName); 127Assert.Equal("model:A", forwarded.ExtractorName); 135Assert.Equal("model:A", forwarded.ExtractorName); 139Assert.Equal("caller:B", options.ExtractorName); 160Assert.Equal("explicit", inner.Options!.ExtractorName);
DocumentExtractionDocumentBuilderTests.cs (2)
268Assert.Equal("model:A", snapshots[0].ExtractorName); 270Assert.Equal("model:B", snapshots[1].ExtractorName);
Microsoft.Extensions.DocumentExtraction.Tests (8)
DocumentExtractionMiddlewareTests.cs (8)
344Assert.Equal("OPTIONS_ONLY_93", forwarded.ExtractorName); 352Assert.Equal("OPTIONS_ONLY_93", forwarded.ExtractorName); 355Assert.Equal("caller changed", options.ExtractorName); 607Assert.Equal("OPTIONS_ONLY_93", snapshot.ExtractorName); 618Assert.Equal("OPTIONS_ONLY_93", secondOptions.ExtractorName); 619Assert.Equal("OPTIONS_ONLY_93", terminalOptions.ExtractorName); 624Assert.Equal("OPTIONS_ONLY_93", secondOptions.ExtractorName); 627Assert.Equal("caller changed", options.ExtractorName);