Class SettingsPropertyChangedEventManager<TApplicationSettings>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: Gemini.Framework.Services
Assembly: Gemini.dll
Syntax
public sealed class SettingsPropertyChangedEventManager<TApplicationSettings>
where TApplicationSettings : INotifyPropertyChanged
Type Parameters
Name | Description |
---|---|
TApplicationSettings |
Constructors
SettingsPropertyChangedEventManager(TApplicationSettings)
Declaration
public SettingsPropertyChangedEventManager(TApplicationSettings applicationSettings)
Parameters
Type | Name | Description |
---|---|---|
TApplicationSettings | applicationSettings |
Methods
AddListener<TSettingsProperty>(Expression<Func<TApplicationSettings, TSettingsProperty>>, Action<TSettingsProperty>)
Declaration
public void AddListener<TSettingsProperty>(Expression<Func<TApplicationSettings, TSettingsProperty>> property, Action<TSettingsProperty> onPropertyChanged)
Parameters
Type | Name | Description |
---|---|---|
Expression<System.Func<TApplicationSettings, TSettingsProperty>> | property | |
System.Action<TSettingsProperty> | onPropertyChanged |
Type Parameters
Name | Description |
---|---|
TSettingsProperty |