7 instantiations of FirstTimeUseNoticeSentinel
aspire (1)
Program.cs (1)
184
builder.Services.AddSingleton<IFirstTimeUseNoticeSentinel>(_ => new
FirstTimeUseNoticeSentinel
(GetUsersAspirePath()));
Aspire.Cli.Tests (6)
Utils\FirstTimeUseNoticeSentinelTests.cs (6)
15
var sentinel = new
FirstTimeUseNoticeSentinel
(workspace.WorkspaceRoot.FullName);
33
var sentinel = new
FirstTimeUseNoticeSentinel
(workspace.WorkspaceRoot.FullName);
47
var sentinel = new
FirstTimeUseNoticeSentinel
(workspace.WorkspaceRoot.FullName);
66
var sentinel = new
FirstTimeUseNoticeSentinel
(workspace.WorkspaceRoot.FullName);
82
var sentinel = new
FirstTimeUseNoticeSentinel
(nonExistentDirectory);
101
Assert.ThrowsAny<ArgumentException>(() => new
FirstTimeUseNoticeSentinel
(directory!));
6 references to FirstTimeUseNoticeSentinel
aspire (1)
Utils\FirstTimeUseNoticeSentinel.cs (1)
15
/// Initializes a new instance of the <see cref="
FirstTimeUseNoticeSentinel
"/> class.
Aspire.Cli.Tests (5)
Utils\FirstTimeUseNoticeSentinelTests.cs (5)
15
var
sentinel = new FirstTimeUseNoticeSentinel(workspace.WorkspaceRoot.FullName);
33
var
sentinel = new FirstTimeUseNoticeSentinel(workspace.WorkspaceRoot.FullName);
47
var
sentinel = new FirstTimeUseNoticeSentinel(workspace.WorkspaceRoot.FullName);
66
var
sentinel = new FirstTimeUseNoticeSentinel(workspace.WorkspaceRoot.FullName);
82
var
sentinel = new FirstTimeUseNoticeSentinel(nonExistentDirectory);