10 references to Pid
Aspire.Hosting (4)
Dashboard\ResourcePropertySnapshotMetadata.cs (2)
49(KnownResourceTypes.Executable, KnownProperties.Executable.Pid) => (ResourcePropertyExecutableProcessIdDisplayName, true, 3), 52(KnownResourceTypes.Project, KnownProperties.Executable.Pid) => (ResourcePropertyExecutableProcessIdDisplayName, true, 2),
Dcp\ResourceSnapshotBuilder.cs (2)
205ResourcePropertySnapshotMetadata.Create(KnownResourceTypes.Project, KnownProperties.Executable.Pid, executable.Status?.ProcessId), 230ResourcePropertySnapshotMetadata.Create(KnownResourceTypes.Executable, KnownProperties.Executable.Pid, executable.Status?.ProcessId),
Aspire.Hosting.Tests (6)
Dcp\ResourceSnapshotBuilderTests.cs (3)
58AssertHighlightedProperty(snapshot, KnownProperties.Executable.Pid, "Process ID", isSensitive: false, sortOrder: 3); 87AssertHighlightedProperty(snapshot, KnownProperties.Executable.Pid, "Process ID", isSensitive: false, sortOrder: 2); 250Assert.Equal(1234, GetProperty(snapshot, KnownProperties.Executable.Pid).Value);
DistributedApplicationTests.cs (3)
422var servicePid = Assert.IsType<int>(GetResourcePropertyValue(normalResource, KnownProperties.Executable.Pid)); 2251GetResourcePropertyValue(e, KnownProperties.Executable.Pid) is int, 2255var executablePid = Assert.IsType<int>(GetResourcePropertyValue(executableEvent, KnownProperties.Executable.Pid));