4 writes to ParameterType
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
274ParameterType = returnType,
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionReturnParameterMetadata.cs (1)
26ParameterType = metadata.ParameterType;
Microsoft.Extensions.AI.Abstractions.Tests (1)
Functions\AIFunctionReturnParameterMetadataTests.cs (1)
26ParameterType = typeof(int),
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
159AIFunctionReturnParameterMetadata returnParameterMetadata = new() { ParameterType = typeof(string) };
7 references to ParameterType
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
317Debug.Assert(Metadata.ReturnParameter.ParameterType == typeof(void), "The return parameter is not void.");
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionReturnParameterMetadata.cs (1)
26ParameterType = metadata.ParameterType;
Microsoft.Extensions.AI.Abstractions.Tests (4)
Functions\AIFunctionMetadataTests.cs (1)
30Assert.Null(f.ReturnParameter.ParameterType);
Functions\AIFunctionReturnParameterMetadataTests.cs (3)
16Assert.Null(p.ParameterType); 32Assert.Equal(p1.ParameterType, p2.ParameterType);
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
139Assert.Equal(typeof(string), func.Metadata.ReturnParameter.ParameterType);