Add explicit [Experimental] protected constructors to McpClient and McpServer (#1363)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com> Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com> Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
This commit is contained in:
parent
9b2aaedc9a
commit
124b43b5c1
1 changed files with 44 additions and 2 deletions
|
|
@ -56,4 +56,19 @@ internal static class Experimentals
|
|||
/// URL for the experimental MCP Extensions feature.
|
||||
/// </summary>
|
||||
public const string Extensions_Url = "https://github.com/modelcontextprotocol/csharp-sdk/blob/main/docs/list-of-diagnostics.md#mcpexp001";
|
||||
|
||||
/// <summary>
|
||||
/// Diagnostic ID for experimental subclassing of McpClient and McpServer.
|
||||
/// </summary>
|
||||
public const string Subclassing_DiagnosticId = "MCPEXP002";
|
||||
|
||||
/// <summary>
|
||||
/// Message for experimental subclassing of McpClient and McpServer.
|
||||
/// </summary>
|
||||
public const string Subclassing_Message = "Subclassing McpClient and McpServer is experimental and subject to change.";
|
||||
|
||||
/// <summary>
|
||||
/// URL for experimental subclassing of McpClient and McpServer.
|
||||
/// </summary>
|
||||
public const string Subclassing_Url = "https://github.com/modelcontextprotocol/csharp-sdk/pull/1363";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue