4 references to ReflectionInvoke
Microsoft.Extensions.AI (4)
Functions\AIFunctionFactory.cs (4)
312
object? result = await _returnMarshaller(
ReflectionInvoke
(_method, _target, args)).ConfigureAwait(false);
472
return
ReflectionInvoke
(taskResultGetter, result, null);
484
var task = (Task)
ReflectionInvoke
(valueTaskAsTask, ThrowIfNullResult(result), null)!;
486
return
ReflectionInvoke
(asTaskResultGetter, task, null);