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