Clarify default value in ElicitResult documentation (#731)

Updated XML documentation to clarify default value for action.
This commit is contained in:
Tim Heuer 2025-08-26 09:15:59 -07:00 • committed by GitHub
commit aef509fd92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,9 @@ public sealed class ElicitResult : Result
/// <summary>
/// Gets or sets the user action in response to the elicitation.
/// </summary>
/// <value>
/// Defaults to "cancel" if not explicitly set.
/// </value>
/// <remarks>
/// <list type="bullet">
/// <item>
@ -23,7 +26,7 @@ public sealed class ElicitResult : Result
/// </item>
/// <item>
/// <term>"cancel"</term>
/// <description>User dismissed without making an explicit choice</description>
/// <description>User dismissed without making an explicit choice (default)</description>
/// </item>
/// </list>
/// </remarks>
@ -44,4 +47,4 @@ public sealed class ElicitResult : Result
/// </remarks>
[JsonPropertyName("content")]
public IDictionary<string, JsonElement>? Content { get; set; }
}
}