1 instantiation of UndoEngine
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
129
undoEngine = new
UndoEngine
(context);
23 references to UndoEngine
System.Data (23)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
551
return null != this.Context && this.Context.Services.GetService<
UndoEngine
>().IsUndoRedoInProgress;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
170
if (null != context && !context.Services.GetService<
UndoEngine
>().IsUndoRedoInProgress)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ImmediateEditingScope.cs (2)
15
private
UndoEngine
.Bookmark undoEngineBookmark;
17
public ImmediateEditingScope(ModelTreeManager modelTreeManager,
UndoEngine
.Bookmark undoEngineBookmark)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemHelper.cs (1)
15
if (shouldApplyChangesImmediately && modelTreeManager.Context.Services.GetService<
UndoEngine
>().IsBookmarkInPlace)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (4)
680
return this.editingScopes.Count == 0 && !this.Context.Services.GetService<
UndoEngine
>().IsBookmarkInPlace;
694
this.immediateEditingScope = context.Services.GetRequiredService<
UndoEngine
>().CreateImmediateEditingScope(description, this);
796
UndoEngine
undoEngine = this.Context.Services.GetService<
UndoEngine
>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
214
UndoEngine
undoEngine;
219
internal Bookmark(
UndoEngine
undoEngine, BookmarkUndoUnit undoUnit)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
355
bool isUndoRedoInProgress = this.Context.Services.GetService<
UndoEngine
>().IsUndoRedoInProgress;
389
bool isUndoRedoInProgress = this.Context.Services.GetService<
UndoEngine
>().IsUndoRedoInProgress;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
974
this.Context.Services.GetService<
UndoEngine
>().Undo();
986
this.Context.Services.GetService<
UndoEngine
>().Redo();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
466
if ((!this.Context.Services.GetService<
UndoEngine
>().IsUndoRedoInProgress) && (!this.isSelectionChangedInternally))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (3)
349
if (this.Context.Services.GetService<
UndoEngine
>().IsUndoRedoInProgress)
412
var isUndoRedoInProgress = this.Context.Services.GetService<
UndoEngine
>().IsUndoRedoInProgress;
471
bool isUndoRedoInProgress = this.Context.Services.GetService<
UndoEngine
>().IsUndoRedoInProgress;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewStateService.cs (2)
27
UndoEngine
UndoEngine
31
return this.context.Services.GetService<
UndoEngine
>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
57
UndoEngine
undoEngine;
130
this.context.Services.Publish(typeof(
UndoEngine
), undoEngine);