Table of Contents

Class AppSettingsManager

Namespace
Stride.Core.Settings
Assembly
Stride.Core.dll

Manages the loading of application settings with IAppSettingsProvider.

public static class AppSettingsManager
Inheritance
AppSettingsManager

Properties

Settings

Gets AppSettings instance for the application.

public static AppSettings Settings { get; }

Property Value

AppSettings

Remarks

Loaded with an IAppSettingsProvider. If no provider implementation is found, returns empty AppSettings instance.

SettingsProvider

Gets or sets an IAppSettingsProvider for the application.

public static IAppSettingsProvider SettingsProvider { get; set; }

Property Value

IAppSettingsProvider

Remarks

If provider is not set, getter of this property will attempt to find an implementation among the registered assemblies and cache it.

Methods

ReloadSettings()

Clears cached settings value and calls LoadAppSettings() on the SettingsProvider.

public static void ReloadSettings()