20 references to IsAppHostInScopeOfDirectory
aspire (3)
Backchannel\AppHostConnectionResolver.cs (1)
310
/// <see cref="AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
"/> without the
Backchannel\AuxiliaryBackchannelMonitor.cs (2)
237
.Where(c =>
IsAppHostInScopeOfDirectory
(c.AppHostInfo?.AppHostPath, workingDirectory.FullName))
673
=>
IsAppHostInScopeOfDirectory
(appHostPath, executionContext.WorkingDirectory.FullName);
Aspire.Cli.Tests (17)
Backchannel\AuxiliaryBackchannelMonitorTests.cs (12)
503
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(appHostPathViaReal, symlinkDirectory));
507
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(appHostPathViaSymlink, realDirectory.FullName));
524
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(outsideAppHost, workingDirectory));
535
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(null, Path.GetTempPath()));
536
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(string.Empty, Path.GetTempPath()));
553
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, primaryRoot));
554
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, primaryRoot));
555
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, worktreeRoot));
556
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, worktreeRoot));
578
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(submoduleAppHost, primaryRoot));
600
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(submoduleAppHost, worktreeRoot));
601
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(submoduleAppHost, primaryRoot));
Commands\StopCommandTests.cs (4)
502
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, workspace.WorkspaceRoot.FullName));
503
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, workspace.WorkspaceRoot.FullName));
509
isInScope: AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, workspace.WorkspaceRoot.FullName));
514
isInScope: AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, workspace.WorkspaceRoot.FullName));
TestServices\TestAuxiliaryBackchannelMonitor.cs (1)
87
.Where(c => AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(c.AppHostInfo?.AppHostPath, workingDirectory.FullName))