Beispiel #1
0
            public PropertyAccessTreeSubscriberINotifyPropertyChanging(PropertyAccessTree propertyAccessTree, Action <TListener, object> subscriberCallback)
            {
                _subscriptions = new List <RootSubscription>();

                _propertyAccessTree = propertyAccessTree;

                foreach (PropertyAccessTreeNode t in propertyAccessTree.Children)
                {
                    var rootSubscription = new RootSubscription(subscriberCallback, t);
                    _subscriptions.Add(rootSubscription);
                }
            }
Beispiel #2
0
            public PropertyAccessTreeSubscriberINotifyPropertyChanging(
                PropertyAccessTree propertyAccessTree,
                Action <TListener, object> subscriberCallback)
            {
                _subscriptions = new List <RootSubscription>();

                _propertyAccessTree = propertyAccessTree;

                for (int i = 0; i < propertyAccessTree.Children.Count; i++)
                {
                    var rootSubscription = new RootSubscription(subscriberCallback, propertyAccessTree.Children[i]);
                    _subscriptions.Add(rootSubscription);
                }
            }