Seal public Protocol reference types to prevent external inheritance (#1232)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
This commit is contained in:
parent
0c35f8f333
commit
712068b161
1 changed files with 16 additions and 30 deletions
|
|
@ -12,7 +12,7 @@ namespace ModelContextProtocol.Protocol;
|
|||
/// but is not serialized as part of the JSON-RPC payload. This includes transport references, execution context,
|
||||
/// and authenticated user information.
|
||||
/// </remarks>
|
||||
public class JsonRpcMessageContext
|
||||
public sealed class JsonRpcMessageContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the transport the <see cref="JsonRpcMessage"/> was received on or should be sent over.
|
||||
|
|
|
|||
Loading…
Reference in a new issue