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)
190Assert.Same(wrapper, wrapper.GetService(typeof(DocumentExtractionClient))); 191Assert.Same(wrapper, wrapper.GetService(typeof(Delegating))); 194Assert.Same(inner.Service, wrapper.GetService(typeof(Delegating), key)); 197Assert.Same(inner.Service, wrapper.GetService(typeof(Stream))); 201Assert.Throws<ArgumentNullException>("serviceType", () => wrapper.GetService(null!));