3 references to GetMethodFromGenericMethodDefinition
Microsoft.Extensions.AI (3)
Functions\AIFunctionFactory.cs (3)
468MethodInfo taskResultGetter = GetMethodFromGenericMethodDefinition(returnType, _taskGetResult); 480MethodInfo valueTaskAsTask = GetMethodFromGenericMethodDefinition(returnType, _valueTaskAsTask); 481MethodInfo asTaskResultGetter = GetMethodFromGenericMethodDefinition(valueTaskAsTask.ReturnType, _taskGetResult);