Class SettingsPropertyChangedEventManager<TApplicationSettings>
public sealed class SettingsPropertyChangedEventManager<TApplicationSettings> where TApplicationSettings : INotifyPropertyChanged
Type Parameters
TApplicationSettings
- Inheritance
-
SettingsPropertyChangedEventManager<TApplicationSettings>
- Inherited Members
Constructors
SettingsPropertyChangedEventManager(TApplicationSettings)
public SettingsPropertyChangedEventManager(TApplicationSettings applicationSettings)
Parameters
applicationSettings
TApplicationSettings
Methods
AddListener<TSettingsProperty>(Expression<Func<TApplicationSettings, TSettingsProperty>>, Action<TSettingsProperty>)
public void AddListener<TSettingsProperty>(Expression<Func<TApplicationSettings, TSettingsProperty>> property, Action<TSettingsProperty> onPropertyChanged)
Parameters
property
Expression<Func<TApplicationSettings, TSettingsProperty>>onPropertyChanged
Action<TSettingsProperty>
Type Parameters
TSettingsProperty