1 write to HandleId
Aspire.Hosting.RemoteHost (1)
Ats\HandleRegistry.cs (1)
203return new HandleRef { HandleId = handleId };
17 references to HandleId
Aspire.Hosting.RemoteHost (15)
Ats\AtsMarshaller.cs (2)
322if (!_handles.TryGet(handleRef.HandleId, out var handleObj, out _)) 324throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
Ats\CapabilityDispatcher.cs (9)
167if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 169throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 204if (!handles.TryGet(handleRef.HandleId, out var contextObj, out var typeId)) 206throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 228["$handle"] = handleRef.HandleId, 264if (!handles.TryGet(handleRef.HandleId, out var contextObj, out _)) 266throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId); 654if (!handles.TryGet(handleRef.HandleId, out var obj, out _)) 656throw CapabilityException.HandleNotFound(handleRef.HandleId, capabilityId);
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);