Show / Hide Table of Contents

Class PhoenixUISettingsManager

Global settings manager for Phoenix.

Inheritance
System.Object
PhoenixSettingsManager
PhoenixUISettingsManager
Implements
ISettingsManager
Inherited Members
PhoenixSettingsManager.AppDataDirectoryRoot
PhoenixSettingsManager.SettingsCategories
PhoenixSettingsManager.ManagedSettings
PhoenixSettingsManager.LoadSettings<T>()
PhoenixSettingsManager.LoadSettings<T>(String)
PhoenixSettingsManager.ChangeSettings(SettingChangeInfo)
PhoenixSettingsManager.ChangeSettings(List<SettingChangeInfo>)
PhoenixSettingsManager.IsValidSettingInfo(SettingChangeInfo)
PhoenixSettingsManager.SaveSettingsToFile(SettingsCategoryBase)
PhoenixSettingsManager.LogLoadException(Exception, String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Settings
Assembly: Phoenix.Settings.dll
Syntax
public class PhoenixUISettingsManager : PhoenixSettingsManager, ISettingsManager

Constructors

View Source

PhoenixUISettingsManager(IEventAggregator, IPhoenixLogger, String)

Initializes a new instance of the PhoenixUISettingsManager class.

Declaration
public PhoenixUISettingsManager(IEventAggregator events, IPhoenixLogger logger, string rootDirectory = null)
Parameters
Type Name Description
IEventAggregator events

The event aggregator.

IPhoenixLogger logger

The logger.

System.String rootDirectory

The root for the app data directory for Phoenix.

Methods

View Source

GetSettings(SettingsCategoryBase)

Gets the settings that belong in the specified category.

Declaration
public static ObservableCollection<SettingInfo> GetSettings(SettingsCategoryBase settingsCategory)
Parameters
Type Name Description
SettingsCategoryBase settingsCategory

Name of the category.

Returns
Type Description
System.Collections.ObjectModel.ObservableCollection<SettingInfo>

List of all the settings contained in the settings category.

View Source

HandleLoadException(Exception, SettingsCategoryBase)

Declaration
protected override SettingsCategoryBase HandleLoadException(Exception e, SettingsCategoryBase defaultSettingsObject)
Parameters
Type Name Description
System.Exception e
SettingsCategoryBase defaultSettingsObject
Returns
Type Description
SettingsCategoryBase
Overrides
PhoenixSettingsManager.HandleLoadException(Exception, SettingsCategoryBase)
View Source

ShowWindow()

Creates and opens a settings window.

Declaration
public static void ShowWindow()

Implements

ISettingsManager
  • View Source
In This Article
Back to top Generated by DocFX