Skip to content

Instantly share code, notes, and snippets.

@odeheurles
Created June 25, 2014 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save odeheurles/35dae01a47b3d807b97c to your computer and use it in GitHub Desktop.
Save odeheurles/35dae01a47b3d807b97c to your computer and use it in GitHub Desktop.
Fire an event to the state machine
// for an event without parameters
_stateMachine.Fire(RfqEvent.ServerQuoteStreamComplete)
// for a strongly typed event
_stateMachine.Fire(_rfqEventServerSendsExecutionReport, executionReport)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment