1 write to HandleId
Aspire.Hosting.RemoteHost (1)
Ats\HandleRegistry.cs (1)
203return new HandleRef { HandleId = handleId };
15 references to HandleId
Aspire.Hosting.RemoteHost (13)
Ats\AtsMarshaller.cs (2)
285if (!_handles.TryGet(handleRef.HandleId, out var handleObj, out _)) 287throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
Ats\CapabilityDispatcher.cs (9)
167if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 169throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 199if (!handles.TryGet(handleRef.HandleId, out var contextObj, out var typeId)) 201throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 220["$handle"] = handleRef.HandleId, 256if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 258throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 597if (!handles.TryGet(handleRef.HandleId, out var obj, out _)) 599throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
Ats\ReferenceExpressionRef.cs (2)
136if (!handles.TryGet(handleRef.HandleId, out var obj, out _)) 138throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
Aspire.Hosting.RemoteHost.Tests (2)
HandleRegistryTests.cs (2)
251Assert.Equal("42", result.HandleId); 304Assert.Equal("1", result.HandleId);