7 instantiations of AIFunctionReturnParameterMetadata
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
272ReturnParameter = options.ReturnParameter ?? new()
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionReturnParameterMetadata.cs (1)
15public static AIFunctionReturnParameterMetadata Empty { get; } = new();
Microsoft.Extensions.AI.Abstractions.Tests (4)
Functions\AIFunctionMetadataTests.cs (1)
45ReturnParameter = new AIFunctionReturnParameterMetadata(),
Functions\AIFunctionReturnParameterMetadataTests.cs (3)
14AIFunctionReturnParameterMetadata p = new(); 23AIFunctionReturnParameterMetadata p1 = new() 30AIFunctionReturnParameterMetadata p2 = new(p1);
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
159AIFunctionReturnParameterMetadata returnParameterMetadata = new() { ParameterType = typeof(string) };
14 references to AIFunctionReturnParameterMetadata
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactoryCreateOptions.cs (1)
67public AIFunctionReturnParameterMetadata? ReturnParameter { get; set; }
Microsoft.Extensions.AI.Abstractions (9)
Functions\AIFunctionMetadata.cs (4)
29private AIFunctionReturnParameterMetadata _returnParameter = AIFunctionReturnParameterMetadata.Empty; 96/// <remarks>If the function has no return parameter, the value is a default instance of an <see cref="AIFunctionReturnParameterMetadata"/>.</remarks> 97public AIFunctionReturnParameterMetadata ReturnParameter
Functions\AIFunctionReturnParameterMetadata.cs (5)
15public static AIFunctionReturnParameterMetadata Empty { get; } = new(); 17/// <summary>Initializes a new instance of the <see cref="AIFunctionReturnParameterMetadata"/> class.</summary> 22/// <summary>Initializes a new instance of the <see cref="AIFunctionReturnParameterMetadata"/> class as a copy of another <see cref="AIFunctionReturnParameterMetadata"/>.</summary> 23public AIFunctionReturnParameterMetadata(AIFunctionReturnParameterMetadata metadata)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Functions\AIFunctionReturnParameterMetadataTests.cs (3)
14AIFunctionReturnParameterMetadata p = new(); 23AIFunctionReturnParameterMetadata p1 = new() 30AIFunctionReturnParameterMetadata p2 = new(p1);
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
159AIFunctionReturnParameterMetadata returnParameterMetadata = new() { ParameterType = typeof(string) };