< Summary

Information
Class: Syki.Front.Configs.MudConfigs
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Configs/MudConfigs.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 12
Coverable lines: 12
Total lines: 22
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
AddMudConfigs(...)100%210%

File(s)

/home/runner/work/syki/syki/Front/Configs/MudConfigs.cs

#LineLine coverage
 1using MudBlazor;
 2using MudBlazor.Services;
 3
 4namespace Syki.Front.Configs;
 5
 6public static class MudConfigs
 7{
 8    public static void AddMudConfigs(this WebAssemblyHostBuilder builder)
 9    {
 010        builder.Services.AddMudServices(config =>
 011        {
 012            config.SnackbarConfiguration.NewestOnTop = true;
 013            config.SnackbarConfiguration.ShowCloseIcon = false;
 014            config.SnackbarConfiguration.PreventDuplicates = true;
 015            config.SnackbarConfiguration.VisibleStateDuration = 1_500;
 016            config.SnackbarConfiguration.ShowTransitionDuration = 200;
 017            config.SnackbarConfiguration.HideTransitionDuration = 200;
 018            config.SnackbarConfiguration.SnackbarVariant = Variant.Filled;
 019            config.SnackbarConfiguration.PositionClass = Defaults.Classes.Position.TopCenter;
 020        });
 021    }
 22}