1 implementation of IExcludedService
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
610private sealed class ExcludedService : IExcludedService
10 references to IExcludedService
Microsoft.Extensions.AI.Tests (10)
Functions\AIFunctionFactoryTest.cs (10)
559IExcludedService service = new ExcludedService(); 568ConfigureParameterBinding = p => p.ParameterType == typeof(IExcludedService) 600public static string One(IExcludedService service, [Description("q")] string query, [Description("o")] string? optional = null) => $"{service.Value}{query}{optional}"; 601public static string Two(IExcludedService service, [Description("o")] string? optional = null) => $"{service.Value}{optional}"; 602public static string Three(IExcludedService service, [Description("n")] string name) => $"{service.Value}{name}"; 603public static string Four(IExcludedService service, [Description("n")] string name, [Description("a")] string? aspect = null) => $"{service.Value}{name}{aspect}"; 604public static string Five(IExcludedService service, [Description("q")] string query, [Description("f")] string framework) => $"{service.Value}{query}{framework}"; 605public static string Six(IExcludedService service, [Description("c")] string? category = null) => $"{service.Value}{category}"; 606public static string Seven(IExcludedService service, [Description("t")] string? topic = null) => $"{service.Value}{topic}"; 607public static string Eight(IExcludedService service) => service.Value;