20 references to IsAppHostInScopeOfDirectory
aspire (3)
Backchannel\AppHostConnectionResolver.cs (1)
285
/// <see cref="AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
"/> without the
Backchannel\AuxiliaryBackchannelMonitor.cs (2)
209
.Where(c =>
IsAppHostInScopeOfDirectory
(c.AppHostInfo?.AppHostPath, workingDirectory.FullName))
621
=>
IsAppHostInScopeOfDirectory
(appHostPath, executionContext.WorkingDirectory.FullName);
Aspire.Cli.Tests (17)
Backchannel\AuxiliaryBackchannelMonitorTests.cs (12)
36
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(appHostPathViaReal, symlinkDirectory));
40
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(appHostPathViaSymlink, realDirectory.FullName));
57
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(outsideAppHost, workingDirectory));
68
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(null, Path.GetTempPath()));
69
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(string.Empty, Path.GetTempPath()));
86
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, primaryRoot));
87
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, primaryRoot));
88
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, worktreeRoot));
89
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, worktreeRoot));
111
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(submoduleAppHost, primaryRoot));
133
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(submoduleAppHost, worktreeRoot));
134
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(submoduleAppHost, primaryRoot));
Commands\StopCommandTests.cs (4)
237
Assert.True(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, workspace.WorkspaceRoot.FullName));
238
Assert.False(AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, workspace.WorkspaceRoot.FullName));
244
isInScope: AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(primaryAppHost, workspace.WorkspaceRoot.FullName));
249
isInScope: AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(nestedAppHost, workspace.WorkspaceRoot.FullName));
TestServices\TestAuxiliaryBackchannelMonitor.cs (1)
70
.Where(c => AuxiliaryBackchannelMonitor.
IsAppHostInScopeOfDirectory
(c.AppHostInfo?.AppHostPath, workingDirectory.FullName))