7 instantiations of DashboardService
Aspire.Hosting.Tests (7)
Dashboard\DashboardServiceTests.cs (7)
43
var dashboardService = new
DashboardServiceImpl
(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), NullLogger<DashboardServiceImpl>.Instance);
96
var dashboardService = new
DashboardServiceImpl
(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), NullLogger<DashboardServiceImpl>.Instance);
148
var dashboardService = new
DashboardServiceImpl
(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<DashboardServiceImpl>());
232
var dashboardService = new
DashboardServiceImpl
(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<DashboardServiceImpl>());
301
var dashboardService = new
DashboardServiceImpl
(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<DashboardServiceImpl>());
359
var dashboardService = new
DashboardServiceImpl
(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<DashboardServiceImpl>());
395
var dashboardService = new
DashboardServiceImpl
(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<DashboardServiceImpl>());
23 references to DashboardService
Aspire.Hosting (4)
Dashboard\DashboardService.cs (1)
22
internal sealed partial class DashboardService(DashboardServiceData serviceData, IHostEnvironment hostEnvironment, IHostApplicationLifetime hostApplicationLifetime, ILogger<
DashboardService
> logger)
Dashboard\DashboardServiceData.cs (1)
14
/// Models the state for <see cref="
DashboardService
"/>, as that service is constructed
Dashboard\DashboardServiceHost.cs (2)
24
/// Hosts a gRPC service via <see cref="
DashboardService
"/> (aka the "Resource Service") that a dashboard can connect to.
127
_app.MapGrpcService<
DashboardService
>();
Aspire.Hosting.Tests (19)
Dashboard\DashboardServiceTests.cs (19)
20
using DashboardServiceImpl = Aspire.Hosting.Dashboard.
DashboardService
;
33
const int LongLineCharacters =
DashboardServiceImpl
.LogMaxBatchCharacters / 3;
43
var
dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), NullLogger<
DashboardServiceImpl
>.Instance);
92
const int LongLineCharacters =
DashboardServiceImpl
.LogMaxBatchCharacters / 3;
96
var
dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), NullLogger<
DashboardServiceImpl
>.Instance);
101
logger.LogInformation(new string('1',
DashboardServiceImpl
.LogMaxBatchCharacters));
119
l => Assert.Equal(
DashboardServiceImpl
.LogMaxBatchCharacters, l.Text.Length));
148
var
dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<
DashboardServiceImpl
>());
232
var
dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<
DashboardServiceImpl
>());
301
var
dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<
DashboardServiceImpl
>());
359
var
dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<
DashboardServiceImpl
>());
395
var
dashboardService = new DashboardServiceImpl(dashboardServiceData, new TestHostEnvironment(), new TestHostApplicationLifetime(), loggerFactory.CreateLogger<
DashboardServiceImpl
>());