Table of Contents

Interface IExternalSettingsProvider

Namespace
MCM.Abstractions
Assembly
MCMv5.dll

Used to add foreign Options API's that MCM will be able to use. Most likely will be used to ease backwards compatibility ports of older MCM API's so we'll be able to reuse more code. This is a higher level alternative to using ISettingsContainer.

public interface IExternalSettingsProvider

Properties

SettingsDefinitions

IEnumerable<SettingsDefinition> SettingsDefinitions { get; }

Property Value

IEnumerable<SettingsDefinition>

Methods

GetPresets(string)

IEnumerable<ISettingsPreset> GetPresets(string id)

Parameters

id string

Returns

IEnumerable<ISettingsPreset>

GetSettings(string)

BaseSettings? GetSettings(string id)

Parameters

id string

Returns

BaseSettings

OverrideSettings(BaseSettings)

void OverrideSettings(BaseSettings settings)

Parameters

settings BaseSettings

ResetSettings(BaseSettings)

void ResetSettings(BaseSettings settings)

Parameters

settings BaseSettings

SaveSettings(BaseSettings)

void SaveSettings(BaseSettings settings)

Parameters

settings BaseSettings

This page was last modified at 01/14/2023 13:28:40 +02:00 (UTC).

Commit Message
Author:    Aragas
Commit:    692d8f0eefed6191008b4222d08179bedf7d19eb
format