2 writes to Context
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
532
Context
= new Dictionary<object, object?>(),
539
Context
= new Dictionary<object, object?>
4 references to Context
Microsoft.Extensions.AI.Abstractions (3)
Functions\AIFunctionFactory.cs (3)
85
/// into <see cref="AIFunction.InvokeAsync"/> via the <see cref="AIFunctionArguments"/>'s <see cref="AIFunctionArguments.
Context
"/> dictionary; the default
248
/// into <see cref="AIFunction.InvokeAsync"/> via the <see cref="AIFunctionArguments"/>'s <see cref="AIFunctionArguments.
Context
"/> dictionary; the default
434
/// into <see cref="AIFunction.InvokeAsync"/> via the <see cref="AIFunctionArguments"/>'s <see cref="AIFunctionArguments.
Context
"/> dictionary; the default
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
512
a.
Context
?.TryGetValue(typeof(MyService), out object? service) is true ? service :