NotifyPropertyChanged Class

Namespace
Shiny
Base Types
  • INotifyPropertyChanged
Derived Types
graph BT Type-->Base0["INotifyPropertyChanged"] Type["NotifyPropertyChanged"] class Type type-node Derived0["TestPowerManager"]-->Type click Derived0 "/api/Shiny.Testing.Power/TestPowerManager" Derived1["TestConnectivity"]-->Type click Derived1 "/api/Shiny.Testing.Net/TestConnectivity" Derived2["ShinyStartupTask"]-->Type click Derived2 "/api/Shiny/ShinyStartupTask"

Syntax

public class NotifyPropertyChanged : INotifyPropertyChanged

Events

Name Type Summary
PropertyChanged PropertyChangedEventHandler

Properties

Name Value Summary
HasSubscribers bool
Returns true if anyone is hooked to PropertyChanged

Methods

Name Value Summary
OnNpcHookChanged(bool) void
This will run as consumers hook or all unhook from the PropertyChanged event
RaisePropertyChanged(string) void
Manually raise a PropertyChanged event for the caller member name or set property name
RaisePropertyChanged<T>(Expression<Func<T>>) void
Set<T>(T, T, string) bool
Sets the property if the value does not match equality

Extension Methods

Name Value Summary
GetPropertyInfo<NotifyPropertyChanged, TRet>(Expression<Func<NotifyPropertyChanged, TRet>>) PropertyInfo
Reflects out property information based on the expression value
ReflectGet(string) object
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectGet<NotifyPropertyChanged, TReturn>(Expression<Func<NotifyPropertyChanged, TReturn>>) TReturn
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectSet(string, object) void
Sets an objects property dynamically through reflection - will throw an exception if proper has no setter, wrong type, or property does not exists
GitHub