PowerArgs.Cli.PropertyChangedSubscription.PropertyChangedSubscription C# (CSharp) Method

PropertyChangedSubscription() public method

public PropertyChangedSubscription ( string propertyName, System.Action changeListener, Action unsubscribeCallback ) : System
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);
            } ;
        }
PropertyChangedSubscription