1 write to _handles
Aspire.Hosting.Native.Server (1)
Rpc\NativeRpcConnection.cs (1)
263
_handles
= new(options.MaximumHandlesPerConnection);
15 references to _handles
Aspire.Hosting.Native.Server (15)
Rpc\NativeRpcConnection.cs (13)
55
_handles
.RemoveRevoked();
57
return
_handles
.Add(scope, NativeRpcContract.LifecycleScopeTypeId);
65
_handles
.RemoveRevoked();
98
_handles
.RemoveRevoked();
99
_handles
.EnsureCapacity();
102
return
_handles
.Add(value, typeId);
111
return
_handles
.ReadReference(handle, typeId);
175
_handles
.RemoveRevoked();
177
return
_handles
.Add(value, typeId);
217
invocation = NativeDispatch.InvokeAsync(_server,
_handles
, this, callbackConnection, capability, arguments);
277
return
_handles
.Count;
430
_handles
.RemoveRevoked();
502
_handles
.Dispose();
Rpc\NativeRpcConnection.Dispatch.cs (2)
38
return
_handles
.Add(_server, NativeRpcContract.ApplicationServerTypeId);
99
return await NativeDispatch.InvokeAsync(_server,
_handles
, this, this, capabilityId, capabilityArguments).ConfigureAwait(false);