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(); 57return _handles.Add(scope, NativeRpcContract.LifecycleScopeTypeId); 65_handles.RemoveRevoked(); 98_handles.RemoveRevoked(); 99_handles.EnsureCapacity(); 102return _handles.Add(value, typeId); 111return _handles.ReadReference(handle, typeId); 175_handles.RemoveRevoked(); 177return _handles.Add(value, typeId); 217invocation = NativeDispatch.InvokeAsync(_server, _handles, this, callbackConnection, capability, arguments); 277return _handles.Count; 430_handles.RemoveRevoked(); 502_handles.Dispose();
Rpc\NativeRpcConnection.Dispatch.cs (2)
38return _handles.Add(_server, NativeRpcContract.ApplicationServerTypeId); 99return await NativeDispatch.InvokeAsync(_server, _handles, this, this, capabilityId, capabilityArguments).ConfigureAwait(false);