1 write to HandleId
Aspire.Hosting.RemoteHost (1)
Ats\HandleRegistry.cs (1)
203return new HandleRef { HandleId = handleId };
22 references to HandleId
Aspire.Hosting.RemoteHost (20)
Ats\AtsMarshaller.cs (2)
561if (!_handles.TryGet(handleRef.HandleId, out var handleObj, out _)) 563throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
Ats\CapabilityDispatcher.cs (13)
194if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 196throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 241if (!handles.TryGet(handleRef.HandleId, out var contextObj, out var typeId)) 243throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 279["$handle"] = handleRef.HandleId, 319if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 321throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 777if (!handles.TryGet(handleRef.HandleId, out var handleObject, out _)) 779throw CapabilityException.HandleNotFound(handleRef.HandleId, capability.CapabilityId); 805if (!handles.TryGet(handleRef.HandleId, out var handleObject, out _)) 807throw CapabilityException.HandleNotFound(handleRef.HandleId, capability.CapabilityId); 1080if (!handles.TryGet(handleRef.HandleId, out var obj, out _)) 1082throw 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)
253Assert.Equal("42", result.HandleId); 306Assert.Equal("1", result.HandleId);