public ObservableMethodBase(INotifyExpression <T> target, MethodInfo method) { if (method == null) { throw new ArgumentNullException("method"); } if (target == null) { throw new ArgumentNullException("target"); } Target = target; Method = method; listener = new CollectionChangeListener <object>(this); }
public NotifyCollection() { Successors.Attached += (obj, e) => Attach(); Successors.Detached += (obj, e) => Detach(); listener = new CollectionChangeListener <T>(this); }