Esempio n. 1
0
 internal void InitDeserializedCompositeSupport(StreamingContext context)
 {
     _notifier = new DetailedNotifyPropertyChange();
     if (_children != null)
     {
         _children.DetailedPropertyChanging += (sender, e) => _notifier.NotifyPropertyChanging(sender, e);
         _children.DetailedPropertyChanged  += (sender, e) => _notifier.NotifyPropertyChanged(sender, e);
     }
 }
Esempio n. 2
0
        // ========================================
        // constructor
        // ========================================
        public AssociationList(IList <T> list, Action <T> associator, Action <T> unassociator)
        {
            if (list == null || associator == null || unassociator == null)
            {
                throw new ArgumentNullException("list or associator or unassociator");
            }

            _list         = list;
            _associator   = associator;
            _unassociator = unassociator;

            _eventSender       = this;
            _eventPropertyName = Property.Associations;

            _notifier = new DetailedNotifyPropertyChange();
        }
Esempio n. 3
0
 internal void InitDeserializedCompositeSupport(StreamingContext context)
 {
     _notifier = new DetailedNotifyPropertyChange();
 }