Base:
method
GetService
Microsoft.Extensions.DocumentExtraction.DocumentExtractionClient.GetService(System.Type, System.Object)
5 references to GetService
Microsoft.Extensions.DocumentExtraction.Abstractions.Tests (5)
DelegatingDocumentExtractionClientTests.cs (5)
190
Assert.Same(wrapper, wrapper.
GetService
(typeof(DocumentExtractionClient)));
191
Assert.Same(wrapper, wrapper.
GetService
(typeof(Delegating)));
194
Assert.Same(inner.Service, wrapper.
GetService
(typeof(Delegating), key));
197
Assert.Same(inner.Service, wrapper.
GetService
(typeof(Stream)));
201
Assert.Throws<ArgumentNullException>("serviceType", () => wrapper.
GetService
(null!));