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)
205
ResourcePropertySnapshotMetadata.Create(KnownResourceTypes.Project, KnownProperties.Executable.
Pid
, executable.Status?.ProcessId),
230
ResourcePropertySnapshotMetadata.Create(KnownResourceTypes.Executable, KnownProperties.Executable.
Pid
, executable.Status?.ProcessId),
Aspire.Hosting.Tests (6)
Dcp\ResourceSnapshotBuilderTests.cs (3)
58
AssertHighlightedProperty(snapshot, KnownProperties.Executable.
Pid
, "Process ID", isSensitive: false, sortOrder: 3);
87
AssertHighlightedProperty(snapshot, KnownProperties.Executable.
Pid
, "Process ID", isSensitive: false, sortOrder: 2);
250
Assert.Equal(1234, GetProperty(snapshot, KnownProperties.Executable.
Pid
).Value);
DistributedApplicationTests.cs (3)
422
var servicePid = Assert.IsType<int>(GetResourcePropertyValue(normalResource, KnownProperties.Executable.
Pid
));
2251
GetResourcePropertyValue(e, KnownProperties.Executable.
Pid
) is int,
2255
var executablePid = Assert.IsType<int>(GetResourcePropertyValue(executableEvent, KnownProperties.Executable.
Pid
));