2 types derived from UndoUnit
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\BookmarkUndoUnit.cs (1)
12
internal sealed class BookmarkUndoUnit :
UndoUnit
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\EditingScopeUndoUnit.cs (1)
10
internal class EditingScopeUndoUnit :
UndoUnit
25 references to UndoUnit
System.Data (25)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\BookmarkUndoUnit.cs (6)
22
this.DoList = new List<
UndoUnit
>();
23
this.RedoList = new List<
UndoUnit
>();
26
internal List<
UndoUnit
> DoList
32
internal List<
UndoUnit
> RedoList
43
this.DoList = this.RedoList.Reverse<
UndoUnit
>().ToList();
62
this.RedoList = this.DoList.Reverse<
UndoUnit
>().ToList();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\IUndoEngineOperations.cs (1)
9
void AddUndoUnitCore(
UndoUnit
unit);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (17)
19
List<
UndoUnit
> undoBuffer;
20
List<
UndoUnit
> redoBuffer;
36
undoBuffer = new List<
UndoUnit
>(capacity);
37
redoBuffer = new List<
UndoUnit
>(capacity);
75
public void AddUndoUnit(
UndoUnit
unit)
114
void IUndoEngineOperations.AddUndoUnitCore(
UndoUnit
unit)
134
UndoUnit
unitToUndo = undoBuffer.Last();
149
UndoUnit
unitToRedo = redoBuffer.Last();
159
private void NotifyUndoUnitAdded(
UndoUnit
unit)
167
private void NotifyUndoExecuted(
UndoUnit
unit)
175
private void NotifyRedoExecuted(
UndoUnit
unit)
183
private void NotifyUndoUnitCancelled(
UndoUnit
unit)
257
foreach (
UndoUnit
unit in this.containerUndoUnit.DoList.Reverse<
UndoUnit
>())
296
void IUndoEngineOperations.AddUndoUnitCore(
UndoUnit
unit)
311
UndoUnit
unitToUndo = this.containerUndoUnit.DoList.Last();
330
UndoUnit
unitToRedo = this.containerUndoUnit.RedoList.First();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoUnitEventArgs.cs (1)
15
public
UndoUnit
UndoUnit { get; set; }