Exemplo n.º 1
0
 public FlowHelper(ISession session,
                   IFlowFactory flowFactory,
                   IStockFactory stockFactory,
                   IOutOrderingProvider outOrderingProvider)
 {
     _stockFactory        = stockFactory;
     _outOrderingProvider = outOrderingProvider;
     _session             = session;
     _flowFactory         = flowFactory;
 }
Exemplo n.º 2
0
 protected Flow(IFlowFactory flowFactory, IRequestHandler requestHandler, IRequest initialRequest = null) : base(initialState: null, disposeOnCompleted: true)
 {
     _requestHandler = requestHandler;
     _initialRequest = initialRequest;
     FlowFactory     = flowFactory;
 }