Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
canton7 committed Aug 6, 2015
1 parent e6e1b64 commit 2e99728
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/StateMechanic/StateMachineInner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,6 @@ private void HandleTransitionNotFound(IEvent @event, bool throwException)
throw new TransitionNotFoundException(this.CurrentState, @event, this.outerStateMachine);
}

public void UpdateCurrentState(TState from, TState to, IEvent @event, bool isInnerTransition)
{
this.CurrentState = to;

// TODO: Raise event after transition has completed?
this.Kernel.OnTransition(from, to, @event, this.outerStateMachine, isInnerTransition);
}

public void SetCurrentState(TState state)
{
this.CurrentState = state;
Expand Down

0 comments on commit 2e99728

Please sign in to comment.