2 writes to GetServiceCallback
Microsoft.Extensions.AI.Abstractions.Tests (2)
Embeddings\DelegatingEmbeddingGeneratorTests.cs (2)
83
GetServiceCallback
= (_, _) => expectedResult
103
GetServiceCallback
= (type, key) => type == expectedResult.GetType() && key == expectedKey
1 reference to GetServiceCallback
Microsoft.Extensions.AI.Abstractions.Tests (1)
TestEmbeddingGenerator.cs (1)
24
=> (TService?)
GetServiceCallback
!(typeof(TService), key);