Пример #1
0
 public ListEventHelper(PalasoDataObject listOwner, IBindingList list, string listName)
 {
     _listOwner        = listOwner;
     _listName         = listName;
     list.ListChanged += OnListChanged;
     foreach (INotifyPropertyChanged x in list)
     {
         _listOwner.WireUpChild(x);
     }
 }
Пример #2
0
 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);
 }
Пример #3
0
 public MultiText(PalasoDataObject parent)
 {
     _parent = parent;
 }
Пример #4
0
 protected PalasoDataObject(PalasoDataObject parent)
 {
     _properties = new List <KeyValuePair <string, IPalasoDataObjectProperty> >();
     _parent     = parent;
 }