From 2105f6883bc7a5f33306d72de01ccd714d15b450 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Nov 2025 22:31:28 -0500 Subject: [PATCH] Fix documentation typos and incorrect type references (#993) * Initial plan * Fix documentation typos and incorrect type references Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com> --- src/ModelContextProtocol.Core/Server/McpServerPrompt.cs | 2 +- .../Server/McpServerPromptAttribute.cs | 2 +- .../Server/McpServerPromptCreateOptions.cs | 4 ++-- .../Server/McpServerResourceCreateOptions.cs | 6 +++--- .../Server/McpServerToolCreateOptions.cs | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ModelContextProtocol.Core/Server/McpServerPrompt.cs b/src/ModelContextProtocol.Core/Server/McpServerPrompt.cs index dafdd7f..18272ff 100644 --- a/src/ModelContextProtocol.Core/Server/McpServerPrompt.cs +++ b/src/ModelContextProtocol.Core/Server/McpServerPrompt.cs @@ -46,7 +46,7 @@ namespace ModelContextProtocol.Server; /// /// /// parameters are bound directly to the instance associated -/// with this request's . Such parameters may be used to understand +/// with this request's . Such parameters may be used to understand /// what server is being used to process the request, and to interact with the client issuing the request to that server. /// /// diff --git a/src/ModelContextProtocol.Core/Server/McpServerPromptAttribute.cs b/src/ModelContextProtocol.Core/Server/McpServerPromptAttribute.cs index 7d9f877..1dcf7bc 100644 --- a/src/ModelContextProtocol.Core/Server/McpServerPromptAttribute.cs +++ b/src/ModelContextProtocol.Core/Server/McpServerPromptAttribute.cs @@ -37,7 +37,7 @@ namespace ModelContextProtocol.Server; /// /// /// parameters are bound directly to the instance associated -/// with this request's . Such parameters may be used to understand +/// with this request's . Such parameters may be used to understand /// what server is being used to process the request, and to interact with the client issuing the request to that server. /// /// diff --git a/src/ModelContextProtocol.Core/Server/McpServerPromptCreateOptions.cs b/src/ModelContextProtocol.Core/Server/McpServerPromptCreateOptions.cs index 3281bef..752af49 100644 --- a/src/ModelContextProtocol.Core/Server/McpServerPromptCreateOptions.cs +++ b/src/ModelContextProtocol.Core/Server/McpServerPromptCreateOptions.cs @@ -26,7 +26,7 @@ public sealed class McpServerPromptCreateOptions /// Gets or sets optional services used in the construction of the . /// /// - /// These services will be used to determine which parameters should be satisifed from dependency injection. As such, + /// These services will be used to determine which parameters should be satisfied from dependency injection. As such, /// what services are satisfied via this provider should match what's satisfied via the provider passed in at invocation time. /// public IServiceProvider? Services { get; set; } @@ -46,7 +46,7 @@ public sealed class McpServerPromptCreateOptions public string? Title { get; set; } /// - /// Gets or set the description to use for the . + /// Gets or sets the description to use for the . /// /// /// If , but a is applied to the method, diff --git a/src/ModelContextProtocol.Core/Server/McpServerResourceCreateOptions.cs b/src/ModelContextProtocol.Core/Server/McpServerResourceCreateOptions.cs index c52af48..34a08a1 100644 --- a/src/ModelContextProtocol.Core/Server/McpServerResourceCreateOptions.cs +++ b/src/ModelContextProtocol.Core/Server/McpServerResourceCreateOptions.cs @@ -26,7 +26,7 @@ public sealed class McpServerResourceCreateOptions /// Gets or sets optional services used in the construction of the . /// /// - /// These services will be used to determine which parameters should be satisifed from dependency injection. As such, + /// These services will be used to determine which parameters should be satisfied from dependency injection. As such, /// what services are satisfied via this provider should match what's satisfied via the provider passed in at invocation time. /// public IServiceProvider? Services { get; set; } @@ -51,12 +51,12 @@ public sealed class McpServerResourceCreateOptions public string? Name { get; set; } /// - /// Gets or sets the title to use for the . + /// Gets or sets the title to use for the . /// public string? Title { get; set; } /// - /// Gets or set the description to use for the . + /// Gets or sets the description to use for the . /// /// /// If , but a is applied to the member, diff --git a/src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs b/src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs index e4e1d93..b029e5d 100644 --- a/src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs +++ b/src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs @@ -41,7 +41,7 @@ public sealed class McpServerToolCreateOptions public string? Name { get; set; } /// - /// Gets or set the description to use for the . + /// Gets or sets the description to use for the . /// /// /// If , but a is applied to the method,