Implemented interface member:
method
GetService
Microsoft.Extensions.AI.IHostedFileClient.GetService(System.Type, System.Object)
1 override of GetService
Microsoft.Extensions.AI (1)
Files\OpenTelemetryHostedFileClient.cs (1)
118public override object? GetService(Type serviceType, object? serviceKey = null) =>
5 references to GetService
Microsoft.Extensions.AI (1)
Files\OpenTelemetryHostedFileClient.cs (1)
120base.GetService(serviceType, serviceKey);
Microsoft.Extensions.AI.Abstractions.Tests (4)
Files\DelegatingHostedFileClientTests.cs (4)
170Assert.Throws<ArgumentNullException>("serviceType", () => delegating.GetService(null!)); 178var client = delegating.GetService(typeof(IHostedFileClient)); 194var tzi = delegating.GetService(typeof(TimeZoneInfo), expectedKey); 210var result = delegating.GetService(typeof(string), expectedKey);