Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 7.26 KB

IUnDoManagerExtension.md

File metadata and controls

29 lines (24 loc) · 7.26 KB

IUnDoManagerExtension Class

Provides methods to create IUnDo command and add them to an IUnDoManager.

public static class IUnDoManagerExtension

Inheritance System.Object 🡒 IUnDoManagerExtension

Methods
Do(this IUnDoManager, Action, Action, object) Does a IUnDo operation on the manager with the specified doAction and undoAction.
Do<T>(this IUnDoManager, Action<T>, T, T, object) Sets a value as a IUnDo operation.
Do<T>(this IUnDoManager, IList<T>, int, T, object) Sets the element at the specified index on a System.Collections.Generic.IList<> as a IUnDo operation.
Do<TKey,TValue>(this IUnDoManager, IDictionary<TKey,TValue>, TKey, TValue, object) Sets the element with the specified key on a System.Collections.Generic.IDictionary<> as a IUnDo operation.
DoAdd<T>(this IUnDoManager, ICollection<T>, T, object) Adds a value to a System.Collections.Generic.ICollection<> as a IUnDo operation.
DoAdd<T>(this IUnDoManager, ISet<T>, T, object) Adds an item from a System.Collections.Generic.ISet<> as a IUnDo operation.
DoAdd<TKey,TValue>(this IUnDoManager, IDictionary<TKey,TValue>, TKey, TValue, object) Adds a value to a System.Collections.Generic.IDictionary<> as a IUnDo operation.
DoClear<T>(this IUnDoManager, ICollection<T>, object) Clears a System.Collections.Generic.ICollection<> as a IUnDo operation.
DoInsert<T>(this IUnDoManager, IList<T>, int, T, object) Inserts an item to a System.Collections.Generic.IList<> at the specified index as a IUnDo operation.
DoOnDo(this IUnDoManager, Action, object) Does a IUnDo operation on the manager with the specified action with no undo.
DoOnUndo(this IUnDoManager, Action, object) Does a IUnDo operation on the manager with the specified action with no do.
DoRemove<T>(this IUnDoManager, ICollection<T>, T, object) Removes an item from a System.Collections.Generic.ICollection<> as a IUnDo operation.
DoRemove<TKey,TValue>(this IUnDoManager, IDictionary<TKey,TValue>, TKey, object) Removes the item with the specified key from a System.Collections.Generic.IDictionary<> as a IUnDo operation.
DoRemoveAt<T>(this IUnDoManager, IList<T>, int, object) Removes an item from a System.Collections.Generic.IList<> at the specified index as a IUnDo operation.