public DefaultRecorder(INotifyStateChanged objectItem, string taskGroupName = null) : base(objectItem, taskGroupName) { this.Initialize(); }
public void Register(INotifyStateChanged listener) { listeners.Add(listener); listener.StateChanged += (sender, e) => Update(); Update(); }
protected Command(CommandProvider provider, INotifyStateChanged notify) { Provider = provider; NotifyStateChanged = notify; }
public RecorderCreatedEventArgs(INotifyStateChanged item, UndoTask task) { this.Item = item; this.Task = task; }
public BaseRecorder(INotifyStateChanged objectItem, string taskGroupName = null) { this.IsAutoRecord = true; this.objectItem = objectItem; this.TaskGroupName = taskGroupName; }
public virtual void Dispose() { this.objectItem = (INotifyStateChanged)null; GC.SuppressFinalize((object)this); }