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)
118
public override object?
GetService
(Type serviceType, object? serviceKey = null) =>
5 references to GetService
Microsoft.Extensions.AI (1)
Files\OpenTelemetryHostedFileClient.cs (1)
120
base.
GetService
(serviceType, serviceKey);
Microsoft.Extensions.AI.Abstractions.Tests (4)
Files\DelegatingHostedFileClientTests.cs (4)
170
Assert.Throws<ArgumentNullException>("serviceType", () => delegating.
GetService
(null!));
178
var client = delegating.
GetService
(typeof(IHostedFileClient));
194
var tzi = delegating.
GetService
(typeof(TimeZoneInfo), expectedKey);
210
var result = delegating.
GetService
(typeof(string), expectedKey);