Remove unessesary $ and fix some typos (#305)
This commit is contained in:
parent
9c124b1770
commit
dc544f929b
2 changed files with 8 additions and 8 deletions
|
|
@ -55,7 +55,7 @@ internal sealed class McpClient : McpEndpoint, IMcpClient
|
|||
{
|
||||
if (samplingCapability.SamplingHandler is not { } samplingHandler)
|
||||
{
|
||||
throw new InvalidOperationException($"Sampling capability was set but it did not provide a handler.");
|
||||
throw new InvalidOperationException("Sampling capability was set but it did not provide a handler.");
|
||||
}
|
||||
|
||||
RequestHandlers.Set(
|
||||
|
|
@ -72,7 +72,7 @@ internal sealed class McpClient : McpEndpoint, IMcpClient
|
|||
{
|
||||
if (rootsCapability.RootsHandler is not { } rootsHandler)
|
||||
{
|
||||
throw new InvalidOperationException($"Roots capability was set but it did not provide a handler.");
|
||||
throw new InvalidOperationException("Roots capability was set but it did not provide a handler.");
|
||||
}
|
||||
|
||||
RequestHandlers.Set(
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ public static class McpClientExtensions
|
|||
/// </para>
|
||||
/// <para>
|
||||
/// Every iteration through the returned <see cref="IAsyncEnumerable{McpClientTool}"/>
|
||||
/// will result in requerying the server and yielding the sequence of available tools.
|
||||
/// will result in re-querying the server and yielding the sequence of available tools.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
/// <example>
|
||||
|
|
@ -248,7 +248,7 @@ public static class McpClientExtensions
|
|||
/// </para>
|
||||
/// <para>
|
||||
/// Every iteration through the returned <see cref="IAsyncEnumerable{McpClientPrompt}"/>
|
||||
/// will result in requerying the server and yielding the sequence of available prompts.
|
||||
/// will result in re-querying the server and yielding the sequence of available prompts.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
/// <example>
|
||||
|
|
@ -396,7 +396,7 @@ public static class McpClientExtensions
|
|||
/// </para>
|
||||
/// <para>
|
||||
/// Every iteration through the returned <see cref="IAsyncEnumerable{ResourceTemplate}"/>
|
||||
/// will result in requerying the server and yielding the sequence of available resource templates.
|
||||
/// will result in re-querying the server and yielding the sequence of available resource templates.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
/// <example>
|
||||
|
|
@ -510,7 +510,7 @@ public static class McpClientExtensions
|
|||
/// </para>
|
||||
/// <para>
|
||||
/// Every iteration through the returned <see cref="IAsyncEnumerable{Resource}"/>
|
||||
/// will result in requerying the server and yielding the sequence of available resources.
|
||||
/// will result in re-querying the server and yielding the sequence of available resources.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
/// <example>
|
||||
|
|
|
|||
Loading…
Reference in a new issue