BUTR/Bannerlord.BLSE

View on GitHub
src/Bannerlord.LauncherEx/Adapters/DialogProviderImpl.cs

Summary

Maintainability
A
2 hrs
Test Coverage

Method SendDialog has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void SendDialog(DialogType type, string title, string message, IReadOnlyList<DialogFileFilter> filters, Action<string> onResult)
    {
        switch (type)
        {
            case DialogType.Warning:
Severity: Minor
Found in src/Bannerlord.LauncherEx/Adapters/DialogProviderImpl.cs - About 2 hrs to fix

    Method SendDialog has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public void SendDialog(DialogType type, string title, string message, IReadOnlyList<DialogFileFilter> filters, Action<string> onResult)
    Severity: Minor
    Found in src/Bannerlord.LauncherEx/Adapters/DialogProviderImpl.cs - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status