public ListEventHelper(PalasoDataObject listOwner, IBindingList list, string listName)
 {
     _listOwner        = listOwner;
     _listName         = listName;
     list.ListChanged += OnListChanged;
     foreach (INotifyPropertyChanged x in list)
     {
         _listOwner.WireUpChild(x);
     }
 }
 public bool Equals(PalasoDataObject other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     if (!_properties.SequenceEqual(other._properties))
     {
         return(false);
     }
     return(true);
 }
Exemple #3
0
 public MultiText(PalasoDataObject parent)
 {
     _parent = parent;
 }
 protected PalasoDataObject(PalasoDataObject parent)
 {
     _properties = new List <KeyValuePair <string, IPalasoDataObjectProperty> >();
     _parent     = parent;
 }