Skip to content

Commit 45bb3f0

Browse files
Fix invalid xref cross-references in documentation
Co-authored-by: eiriktsarpalis <[email protected]>
1 parent 50323c5 commit 45bb3f0

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/concepts/elicitation/elicitation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Servers request structured data from users with the [ElicitAsync] extension meth
1515
The C# SDK registers an instance of [IMcpServer] with the dependency injection container,
1616
so tools can simply add a parameter of type [IMcpServer] to their method signature to access it.
1717

18-
[ElicitAsync]: xref:ModelContextProtocol.Server.McpServerExtensions.ElicitAsync*
18+
[ElicitAsync]: xref:ModelContextProtocol.Server.McpServer.ElicitAsync*
1919
[IMcpServer]: xref:ModelContextProtocol.Server.McpServer
2020

2121
The MCP Server must specify the schema of each input value it is requesting from the user.
@@ -33,7 +33,7 @@ The following example demonstrates how a server could request a boolean response
3333

3434
Elicitation is an optional feature so clients declare their support for it in their capabilities as part of the `initialize` request. In the MCP C# SDK, this is done by configuring an [ElicitationHandler] in the [McpClientOptions]:
3535

36-
[ElicitationHandler]: xref:ModelContextProtocol.Protocol.ElicitationCapability.ElicitationHandler
36+
[ElicitationHandler]: xref:ModelContextProtocol.Client.McpClientHandlers.ElicitationHandler
3737
[McpClientOptions]: xref:ModelContextProtocol.Client.McpClientOptions
3838

3939
[!code-csharp[](samples/client/Program.cs?name=snippet_McpInitialize)]

docs/concepts/logging/logging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ and from that can create an [ILogger] instance for logging messages that should
6565
[!code-csharp[](samples/server/Tools/LoggingTools.cs?name=snippet_LoggingConfiguration)]
6666

6767
[ILoggerProvider]: https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.iloggerprovider
68-
[AsClientLoggerProvider]: xref:ModelContextProtocol.Server.McpServerExtensions.AsClientLoggerProvider*
68+
[AsClientLoggerProvider]: xref:ModelContextProtocol.Server.McpServer.AsClientLoggerProvider*
6969
[ILogger]: https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger
7070

7171
### Client support for logging
@@ -89,7 +89,7 @@ sets a logging level to ensure it receives the desired log messages and only tho
8989
The `loggingLevel` set by the client is an MCP logging level.
9090
See the [Logging Levels](#logging-levels) section above for the mapping between MCP and .NET logging levels.
9191

92-
[SetLoggingLevel]: xref:ModelContextProtocol.Client.McpClientExtensions.SetLoggingLevel*
92+
[SetLoggingLevel]: xref:ModelContextProtocol.Client.McpClient.SetLoggingLevel*
9393

9494
[!code-csharp[](samples/client/Program.cs?name=snippet_LoggingLevel)]
9595

docs/concepts/progress/progress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The MCP C# SDK will automatically handle progress notifications and report them
6363
This notification handler will only receive progress updates for the specific request that was made,
6464
rather than all progress notifications from the server.
6565

66-
[Progress`<T>`]: xref:System.Progress`1
66+
[Progress`<T>`]: https://learn.microsoft.com/dotnet/api/system.progress-1
6767
[ProgressNotificationValue]: xref:ModelContextProtocol.ProgressNotificationValue
6868

6969
[!code-csharp[](samples/client/Program.cs?name=snippet_ProgressHandler)]

0 commit comments

Comments
 (0)