You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <summary>Initializes the <see cref="KernelReturnParameterMetadata"/> with all properties.</summary>
49
+
/// <param name="description">The description of the return parameter.</param>
50
+
/// <param name="parameterType">The .NET type of the return parameter.</param>
51
+
/// <param name="schema">The JSON schema describing the return parameter's type.</param>
52
+
/// <param name="jsonSerializerOptions">The <see cref="JsonSerializerOptions"/> to generate JSON schema.</param>
53
+
publicKernelReturnParameterMetadata(
54
+
string?description=null,
55
+
Type?parameterType=null,
56
+
KernelJsonSchema?schema=null,
57
+
JsonSerializerOptions?jsonSerializerOptions=null)
58
+
:this(jsonSerializerOptions??null!)
59
+
{
60
+
this.Description=description;
61
+
this.ParameterType=parameterType;
62
+
this.Schema=schema;
63
+
}
64
+
48
65
/// <summary>Initializes a <see cref="KernelReturnParameterMetadata"/> as a copy of another <see cref="KernelReturnParameterMetadata"/>.</summary>
49
66
[RequiresUnreferencedCode("Uses reflection, if no JSOs are available in the metadata, to generate the schema, making it incompatible with AOT scenarios.")]
50
67
[RequiresDynamicCode("Uses reflection, if no JSOs are available in the metadata, to generate the schema, making it incompatible with AOT scenarios.")]
0 commit comments