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)
184
builder.Services.AddSingleton<
IFirstTimeUseNoticeSentinel
>(_ => new FirstTimeUseNoticeSentinel(GetUsersAspirePath()));
338
var
sentinel = serviceProvider.GetRequiredService<
IFirstTimeUseNoticeSentinel
>();
Aspire.Cli.Tests (1)
Utils\CliTestHelper.cs (1)
273
public Func<IServiceProvider,
IFirstTimeUseNoticeSentinel
> FirstTimeUseNoticeSentinelFactory { get; set; } = _ => new TestFirstTimeUseNoticeSentinel();