Class EndScopeOperation
class representing the end of a scope
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.UndoRedo
Assembly: TimeCockpit.Data.dll
Syntax
public class EndScopeOperation : ScopeOperation
Constructors
EndScopeOperation()
Declaration
public EndScopeOperation()
Methods
Redo(ChangeTracker)
dos nothing, as the scope is ends here, and nothing has to be done to end a scope.
Declaration
public override void Redo(ChangeTracker changeTracker)
Parameters
Type | Name | Description |
---|---|---|
ChangeTracker | changeTracker | This parameter is not used. |
Overrides
Undo(ChangeTracker)
undos all operations within the scope until the corresponding begin scope operation is found.
Declaration
public override void Undo(ChangeTracker changeTracker)
Parameters
Type | Name | Description |
---|---|---|
ChangeTracker | changeTracker | the change tracker that governs this operation. |