1 write to HandleId
Aspire.Hosting.RemoteHost (1)
Ats\HandleRegistry.cs (1)
202return new HandleRef { HandleId = handleId };
22 references to HandleId
Aspire.Hosting.RemoteHost (20)
Ats\AtsMarshaller.cs (2)
544if (!_handles.TryGet(handleRef.HandleId, out var handleObj, out _)) 546throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
Ats\CapabilityDispatcher.cs (13)
199if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 201throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 246if (!handles.TryGet(handleRef.HandleId, out var contextObj, out var typeId)) 248throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 284["$handle"] = handleRef.HandleId, 324if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 326throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 805if (!handles.TryGet(handleRef.HandleId, out var handleObject, out _)) 807throw CapabilityException.HandleNotFound(handleRef.HandleId, capability.CapabilityId); 833if (!handles.TryGet(handleRef.HandleId, out var handleObject, out _)) 835throw CapabilityException.HandleNotFound(handleRef.HandleId, capability.CapabilityId); 1108if (!handles.TryGet(handleRef.HandleId, out var obj, out _)) 1110throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
Ats\PolyglotCapabilityInvocationException.cs (1)
271if (handleRef is null || !handles.TryGet(handleRef.HandleId, out var handleObject, out _))
Ats\ReferenceExpressionRef.cs (4)
173if (!handles.TryGet(conditionHandleRef.HandleId, out var conditionObj, out _)) 175throw CapabilityException.HandleNotFound(conditionHandleRef.HandleId, capabilityId); 224if (!handles.TryGet(handleRef.HandleId, out var obj, out _)) 226throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
Aspire.Hosting.RemoteHost.Tests (2)
HandleRegistryTests.cs (2)
248Assert.Equal("42", result.HandleId); 301Assert.Equal("1", result.HandleId);