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