Exemplo n.º 1
0
 /// <summary>
 /// Raises the <see cref="StateMachine{TState,TEvent}.ExceptionThrown"/> event.
 /// </summary>
 /// <param name="args">The <see cref="TransitionCompletedEventArgs{TState,TEvent}"/> instance containing the event data.</param>
 protected virtual void OnExceptionThrown(TransitionErrorEventArgs <TState, TEvent, TArgs> args)
 {
     RaiseSafeEvent(ExceptionThrown, args, ExceptionPolicy.Swallow);
 }
 /// <summary>
 /// Raises the <see cref="StateMachine{TState,TEvent,TArgs}.ExceptionThrown"/> event.
 /// </summary>
 /// <param name="args">The <see cref="TransitionErrorEventArgs{TState,TEvent,TArgs}"/> instance containing the event data.</param>
 protected override void OnExceptionThrown(TransitionErrorEventArgs <TState, TEvent, TArgs> args)
 {
     synchronizedPost(base.OnExceptionThrown, args);
 }