1 write to _returnTypeInfo
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
266_returnTypeInfo = returnType != typeof(void) ? options.SerializerOptions.GetTypeInfo(returnType) : null;
3 references to _returnTypeInfo
Microsoft.Extensions.AI (3)
Functions\AIFunctionFactory.cs (3)
314switch (_returnTypeInfo) 322return JsonSerializer.SerializeToElement(result, _returnTypeInfo); 328await JsonSerializer.SerializeAsync(stream, result, _returnTypeInfo, cancellationToken).ConfigureAwait(false);