11 references to SetDensityAsync
Aspire.Dashboard.Components.Tests (11)
Layout\ResourceRowAvailabilityTests.cs (2)
87
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(ResourceListDensity.Compact));
441
cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(ResourceListDensity.Comfortable));
Layout\ResourcesLayoutTests.cs (9)
413
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(ResourceListDensity.Comfortable));
455
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(ResourceListDensity.Comfortable));
505
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(density));
1161
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(ResourceListDensity.Comfortable));
1255
await cut.InvokeAsync(() => preferences.
SetDensityAsync
(ResourceListDensity.Comfortable));
1258
await cut.InvokeAsync(() => preferences.
SetDensityAsync
(ResourceListDensity.Compact));
1674
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(density));
1841
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(density));
2528
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().
SetDensityAsync
(density));