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> /// <summary>
/// Gets or sets the user action in response to the elicitation. /// Gets or sets the user action in response to the elicitation.
/// </summary> /// </summary>
/// <value>
/// Defaults to "cancel" if not explicitly set.
/// </value>
/// <remarks> /// <remarks>
/// <list type="bullet"> /// <list type="bullet">
/// <item> /// <item>
@ -23,7 +26,7 @@ public sealed class ElicitResult : Result
/// </item> /// </item>
/// <item> /// <item>
/// <term>"cancel"</term> /// <term>"cancel"</term>
/// <description>User dismissed without making an explicit choice</description> /// <description>User dismissed without making an explicit choice (default)</description>
/// </item> /// </item>
/// </list> /// </list>
/// </remarks> /// </remarks>