Add net10.0 assets and run some fixers (#875)
This commit is contained in:
parent
e7b403b820
commit
bfc0980ef5
1 changed files with 168 additions and 194 deletions
|
|
@ -17,8 +17,6 @@ public sealed class RequestContext<TParams>
|
|||
/// <summary>The server with which this instance is associated.</summary>
|
||||
private McpServer _server;
|
||||
|
||||
private IDictionary<string, object?>? _items;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="RequestContext{TParams}"/> class with the specified server and JSON-RPC request.
|
||||
/// </summary>
|
||||
|
|
@ -51,14 +49,8 @@ public sealed class RequestContext<TParams>
|
|||
/// </summary>
|
||||
public IDictionary<string, object?> Items
|
||||
{
|
||||
get
|
||||
{
|
||||
return _items ??= new Dictionary<string, object?>();
|
||||
}
|
||||
set
|
||||
{
|
||||
_items = value;
|
||||
}
|
||||
get => field ??= new Dictionary<string, object?>();
|
||||
set => field = value;
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the services associated with this request.</summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue