Aragas/Bannerlord.MBOptionScreen

View on GitHub
src/MCM.UI.Adapter.MCMv5/Base/MCMv5FluentSettingsWrapper.cs

Summary

Maintainability
A
55 mins
Test Coverage
using HarmonyLib.BUTR.Extensions;

using MCM.Abstractions;
using MCM.Abstractions.Base;
using MCM.Abstractions.Base.Global;
using MCM.Abstractions.Wrapper;
using MCM.UI.Adapter.MCMv5.Presets;

using System.Collections;
using System.Collections.Generic;
using System.Linq;

namespace MCM.UI.Adapter.MCMv5.Base
{
    internal sealed class MCMv5FluentSettingsWrapper : SettingsWrapper
    {
        public override string DiscoveryType => "mcm_v5_fluent";

        public MCMv5FluentSettingsWrapper(object? @object) : base(@object) { }

        protected override BaseSettings Create(object? @object) => new MCMv5FluentSettingsWrapper(@object);
        protected override ISettingsPreset CreatePreset(object? @object) => new MCMv5FluentSettingsPresetWrapper(@object);
    }
}