public PropertyChangedSubscription ( string propertyName, System.Action changeListener, Action |
||
propertyName | string | |
changeListener | System.Action | |
unsubscribeCallback | Action |
|
return | System |
public PropertyChangedSubscription(string propertyName, Action changeListener, Action<PropertyChangedSubscription> unsubscribeCallback)
{
this.PropertyName = propertyName;
this.ChangeListener = changeListener;
this.unsubscribeHandler = ()=>
{
unsubscribeCallback(this);
} ;
}