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>
This commit is contained in:
Copilot 2025-11-19 22:31:28 -05:00 • committed by GitHub
commit 2105f6883b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View file

@ -46,7 +46,7 @@ namespace ModelContextProtocol.Server;
/// <item>
/// <description>
/// <see cref="McpServer"/> parameters are bound directly to the <see cref="McpServer"/> instance associated
/// with this request's <see cref="RequestContext{CallPromptRequestParams}"/>. Such parameters may be used to understand
/// with this request's <see cref="RequestContext{GetPromptRequestParams}"/>. 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.
/// </description>
/// </item>

View file

@ -37,7 +37,7 @@ namespace ModelContextProtocol.Server;
/// <item>
/// <description>
/// <see cref="McpServer"/> parameters are bound directly to the <see cref="McpServer"/> instance associated
/// with this request's <see cref="RequestContext{CallPromptRequestParams}"/>. Such parameters may be used to understand
/// with this request's <see cref="RequestContext{GetPromptRequestParams}"/>. 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.
/// </description>
/// </item>

View file

@ -26,7 +26,7 @@ public sealed class McpServerPromptCreateOptions
/// Gets or sets optional services used in the construction of the <see cref="McpServerPrompt"/>.
/// </summary>
/// <remarks>
/// 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.
/// </remarks>
public IServiceProvider? Services { get; set; }
@ -46,7 +46,7 @@ public sealed class McpServerPromptCreateOptions
public string? Title { get; set; }
/// <summary>
/// Gets or set the description to use for the <see cref="McpServerPrompt"/>.
/// Gets or sets the description to use for the <see cref="McpServerPrompt"/>.
/// </summary>
/// <remarks>
/// If <see langword="null"/>, but a <see cref="DescriptionAttribute"/> is applied to the method,

View file

@ -26,7 +26,7 @@ public sealed class McpServerResourceCreateOptions
/// Gets or sets optional services used in the construction of the <see cref="McpServerResource"/>.
/// </summary>
/// <remarks>
/// 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.
/// </remarks>
public IServiceProvider? Services { get; set; }
@ -51,12 +51,12 @@ public sealed class McpServerResourceCreateOptions
public string? Name { get; set; }
/// <summary>
/// Gets or sets the title to use for the <see cref="McpServerPrompt"/>.
/// Gets or sets the title to use for the <see cref="McpServerResource"/>.
/// </summary>
public string? Title { get; set; }
/// <summary>
/// Gets or set the description to use for the <see cref="McpServerResource"/>.
/// Gets or sets the description to use for the <see cref="McpServerResource"/>.
/// </summary>
/// <remarks>
/// If <see langword="null"/>, but a <see cref="DescriptionAttribute"/> is applied to the member,

View file

@ -41,7 +41,7 @@ public sealed class McpServerToolCreateOptions
public string? Name { get; set; }
/// <summary>
/// Gets or set the description to use for the <see cref="McpServerTool"/>.
/// Gets or sets the description to use for the <see cref="McpServerTool"/>.
/// </summary>
/// <remarks>
/// If <see langword="null"/>, but a <see cref="DescriptionAttribute"/> is applied to the method,