Search Results for

    Show / Hide Table of Contents

    Class EndScopeOperation

    class representing the end of a scope

    Inheritance
    System.Object
    Operation
    ScopeOperation
    EndScopeOperation
    Inherited Members
    Operation.TryMerge(Operation, ChangeTracker)
    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
    Operation.Redo(ChangeTracker)

    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.

    Overrides
    Operation.Undo(ChangeTracker)
    In This Article
    Back to top Copyright © 2020 software architects gmbh