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)
198if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 200throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 245if (!handles.TryGet(handleRef.HandleId, out var contextObj, out var typeId)) 247throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 283["$handle"] = handleRef.HandleId, 323if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 325throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 804if (!handles.TryGet(handleRef.HandleId, out var handleObject, out _)) 806throw CapabilityException.HandleNotFound(handleRef.HandleId, capability.CapabilityId); 832if (!handles.TryGet(handleRef.HandleId, out var handleObject, out _)) 834throw CapabilityException.HandleNotFound(handleRef.HandleId, capability.CapabilityId); 1107if (!handles.TryGet(handleRef.HandleId, out var obj, out _)) 1109throw 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);