private void OnUnhandledTrigger(RfqState state, RfqEvent trigger) { var message = string.Format("State machine received an invalid trigger '{0}' in state '{1}'", trigger, state); Console.WriteLine(message); _rfqUpdateSubject.OnError(new ApplicationException(message)); }
public RfqUpdate(RfqState rfqState, IQuote quote, IExecutionReport executionReport) { RfqState = rfqState; Quote = quote; ExecutionReport = executionReport; }