2 implementations of IFirstTimeUseNoticeSentinel
aspire (1)
Utils\FirstTimeUseNoticeSentinel.cs (1)
9
internal sealed class FirstTimeUseNoticeSentinel :
IFirstTimeUseNoticeSentinel
Aspire.Cli.Tests (1)
TestServices\TestFirstTimeUseNoticeSentinel.cs (1)
8
internal sealed class TestFirstTimeUseNoticeSentinel :
IFirstTimeUseNoticeSentinel
4 references to IFirstTimeUseNoticeSentinel
aspire (3)
Program.cs (3)
291
builder.Services.AddSingleton<
IFirstTimeUseNoticeSentinel
>(_ => new FirstTimeUseNoticeSentinel(GetUsersAspirePath()));
493
var
sentinel = serviceProvider.GetRequiredService<
IFirstTimeUseNoticeSentinel
>();
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
331
public Func<IServiceProvider,
IFirstTimeUseNoticeSentinel
> FirstTimeUseNoticeSentinelFactory { get; set; } = _ => new TestFirstTimeUseNoticeSentinel();