8 references to ControlSockPurpose
Aspire.Hosting (4)
Lifecycle\TerminalHostOrphanCleanupService.cs (2)
163
TerminalHostPaths.GetSocketPath(trmnlDirectory, replicaId, TerminalHostPaths.
ControlSockPurpose
),
483
|| File.Exists(TerminalHostPaths.GetSocketPath(trmnlDirectory, replicaId, TerminalHostPaths.
ControlSockPurpose
));
src\Shared\TerminalHost\TerminalHostPaths.cs (1)
106
/// <param name="sockPurpose">One of <see cref="ProducerSockPurpose"/>, <see cref="ConsumerSockPurpose"/>, <see cref="
ControlSockPurpose
"/>.</param>
TerminalResourceBuilderExtensions.cs (1)
450
var controlPath = TerminalHostPaths.GetSocketPath(trmnlDirectory, replicaId, TerminalHostPaths.
ControlSockPurpose
);
Aspire.Hosting.Tests (4)
TerminalHostPathsTests.cs (3)
36
var control = TerminalHostPaths.GetSocketPath(trmnlDirectory, id, TerminalHostPaths.
ControlSockPurpose
);
38
Assert.Equal(Path.Combine(trmnlDirectory, $"{id}.{TerminalHostPaths.
ControlSockPurpose
}.sock"), control);
69
var control = TerminalHostPaths.GetSocketPath(trmnlDirectory, id, TerminalHostPaths.
ControlSockPurpose
);
WithTerminalTests.cs (1)
437
var orphanControlPath = Path.Combine(trmnlDirectory, $"{orphanId}.{TerminalHostPaths.
ControlSockPurpose
}.sock");