Table of Contents

Class EndScopeOperation

Namespace
TimeCockpit.Data.UndoRedo
Assembly
TimeCockpit.Data.dll

class representing the end of a scope

public class EndScopeOperation : ScopeOperation
Inheritance
Object
EndScopeOperation
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

EndScopeOperation()

public EndScopeOperation()

Methods

Redo(ChangeTracker)

dos nothing, as the scope is ends here, and nothing has to be done to end a scope.

public override void Redo(ChangeTracker changeTracker)

Parameters

changeTracker ChangeTracker

This parameter is not used.

Undo(ChangeTracker)

undos all operations within the scope until the corresponding begin scope operation is found.

public override void Undo(ChangeTracker changeTracker)

Parameters

changeTracker ChangeTracker

the change tracker that governs this operation.