Example #1
0
        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));
        }
Example #2
0
        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));
        }
Example #3
0
 public RfqUpdate(RfqState rfqState, IQuote quote, IExecutionReport executionReport)
 {
     RfqState        = rfqState;
     Quote           = quote;
     ExecutionReport = executionReport;
 }
Example #4
0
 public RfqUpdate(RfqState rfqState, IQuote quote, IExecutionReport executionReport)
 {
     RfqState = rfqState;
     Quote = quote;
     ExecutionReport = executionReport;
 }