20 references to IsAppHostInScopeOfDirectory
aspire (3)
Backchannel\AppHostConnectionResolver.cs (1)
287
/// <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)
496
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(appHostPathViaReal, symlinkDirectory));
500
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(appHostPathViaSymlink, realDirectory.FullName));
517
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(outsideAppHost, workingDirectory));
528
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(null, Path.GetTempPath()));
529
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(string.Empty, Path.GetTempPath()));
546
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, primaryRoot));
547
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, primaryRoot));
548
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, worktreeRoot));
549
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, worktreeRoot));
571
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(submoduleAppHost, primaryRoot));
593
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(submoduleAppHost, worktreeRoot));
594
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))