1 instantiation of TelemetryImportService
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
33return new TelemetryImportService(repository, optionsMonitor, NullLogger<TelemetryImportService>.Instance, activitySource ?? new DashboardActivitySource());
22 references to TelemetryImportService
Aspire.Dashboard (5)
Components\Dialogs\ManageDataDialog.razor.cs (1)
50public required TelemetryImportService TelemetryImportService { get; init; }
DashboardWebApplication.cs (1)
355builder.Services.AddScoped<TelemetryImportService>();
Model\TelemetryImportService.cs (3)
23private readonly ILogger<TelemetryImportService> _logger; 32/// Initializes a new instance of the <see cref="TelemetryImportService"/> class. 41ILogger<TelemetryImportService> logger,
Aspire.Dashboard.Components.Tests (1)
Dialogs\ManageDataDialogTests.cs (1)
286Services.AddSingleton<TelemetryImportService>();
Aspire.Dashboard.Tests (16)
Model\TelemetryImportServiceTests.cs (16)
29private static TelemetryImportService CreateImportService(SqliteTelemetryRepository repository, bool disableImport = false, DashboardActivitySource? activitySource = null) 33return new TelemetryImportService(repository, optionsMonitor, NullLogger<TelemetryImportService>.Instance, activitySource ?? new DashboardActivitySource()); 42var service = CreateImportService(repository, activitySource: activitySource); 61var service = CreateImportService(repository, disableImport: true); 77var service = CreateImportService(repository); 103var service = CreateImportService(repository); 127var service = CreateImportService(repository); 151var service = CreateImportService(repository); 194var service = CreateImportService(repository); 231var service = CreateImportService(repository); 249var service = CreateImportService(repository); 267var service = CreateImportService(repository); 285var service = CreateImportService(repository); 331var importService = CreateImportService(targetRepository); 406var importService = CreateImportService(targetRepository); 463var importService = CreateImportService(targetRepository);