/// <summary> /// Initializes a new instance of the <see cref="SelectionOperation"/> class. /// </summary> /// <param name="service">The selection service creating this operation.</param> /// <param name="previousState">The state of selection before this operation.</param> /// <param name="nextState">The state of selection after this operation.</param> public SelectionOperation(SelectionService service, SelectionState previousState, SelectionState nextState) { this.service = service; this.previousState = previousState; this.nextState = nextState; }