Exemplo n.º 1
0
        public FlowManager(IStateManager stateManager, IFlowLogger logger)
        {
            StateManager = stateManager ?? throw new ArgumentNullException(nameof(stateManager));
            Logger       = logger ?? throw new ArgumentNullException(nameof(logger));

            InstanceService   = new FlowInstanceService(StateManager);
            TypeService       = new FlowTypeService(StateManager);
            StateService      = new FlowStateService(StateManager);
            TransitionService = new FlowTransitionService(StateManager);
            StepService       = new FlowStepService(StateManager);
        }
        public void SetUp()
        {
            var container = new Container();

            container.Configure(config =>
            {
                config.For <ISearchFlight>().Use <AmadeusSearchFlight>().AndInterceptInstantiationWith <FlowInterceptor>();
            });

            IocContainerFactory.Current = new IocContainerImplementation(container);

            _flowLogger = IocContainerFactory.Current.GetInstance <IFlowLogger>();
        }
Exemplo n.º 3
0
 public LoggedInputsAndOutputsFlow(IMediator mediator, IFlowLogger <LoggedInputsAndOutputsFlow> logger)
     : base(mediator, logger)
 {
 }
Exemplo n.º 4
0
 public OverriddenActivityFlow(IMediator mediator, IFlowOverrideProvider overrideProvider = null,
                               IFlowLogger <OverriddenActivityFlow> flowLogger            = null)
     : base(mediator, overrideProvider, flowLogger)
 {
 }
Exemplo n.º 5
0
 public ActivityInputFlow(IMediator mediator, IFlowLogger <ActivityInputFlow> logger) : base(mediator, logger)
 {
 }
Exemplo n.º 6
0
 public FlowReportManager(IStateManager stateManager,
                          IFlowLogger logger)
 {
     StateManager = stateManager ?? throw new ArgumentNullException(nameof(stateManager));
     Logger       = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public TestDictionarySubPropertyBindingsFlow(IMediator mediator, IFlowLogger <TestDictionarySubPropertyBindingsFlow> logger) : base(mediator, logger)
 {
 }
Exemplo n.º 8
0
 public ActivityDesignTimeFlow(IMediator mediator, IFlowLogger <ActivityDesignTimeFlow> logger) : base(mediator, logger)
 {
 }
 public ActivityOverriddenSettersFlow(IMediator mediator, IFlowLogger <ActivityOverriddenSettersFlow> logger) : base(mediator, logger)
 {
 }
Exemplo n.º 10
0
 public SingleActivityFlow(IMediator mediator, IFlowLogger <SingleActivityFlow> logger) : base(mediator, logger)
 {
 }
 public FlowValueDictionaryDefaultFlow(IMediator mediator, IFlowLogger <FlowValueDictionaryDefaultFlow> logger)
     : base(mediator, logger)
 {
 }
Exemplo n.º 12
0
 public LabelsAndGotosFlow(IMediator mediator, IFlowLogger <LabelsAndGotosFlow> logger) : base(mediator, logger)
 {
 }
Exemplo n.º 13
0
 public MockActivityViaFlowRFlow(IMediator mediator, IFlowLogger <MockActivityViaFlowRFlow> logger) : base(mediator, logger)
 {
 }
Exemplo n.º 14
0
 public ActivityBindingAttributesFlow(IMediator mediator, IFlowLogger <ActivityBindingAttributesFlow> logger) : base(mediator, logger)
 {
 }
Exemplo n.º 15
0
 public EnableableStepsFlow(IMediator mediator, IFlowLogger <EnableableStepsFlow> flowLogger) : base(mediator, flowLogger)
 {
 }
Exemplo n.º 16
0
 public MultipleMatchDecisionFlow(IMediator mediator, IFlowLogger <MatchDecisionFlow> logger) : base(mediator, logger)
 {
 }
Exemplo n.º 17
0
 public MissingMandatoryResponseFlow(IMediator mediator, IFlowLogger <MissingMandatoryResponseFlow> logger) : base(mediator, logger)
 {
 }
 public ActivityStaticValueBindingsFlow(IMediator mediator, IFlowLogger <ActivityStaticValueBindingsFlow> logger) : base(mediator, logger)
 {
 }
 public DecisionBindingAttributesFlow(IMediator mediator, IFlowLogger <DecisionBindingAttributesFlow> logger) : base(mediator, logger)
 {
 }
 public void Intercept(IInstantiation instantiation)
 {
     _flowLogger = IocContainerFactory.Current.GetInstance <IFlowLogger>();
     instantiation.Proceed();
 }
Exemplo n.º 21
0
 public TestDictionaryRegexMapBindingsFlow(IMediator mediator, IFlowLogger <TestDictionaryRegexMapBindingsFlow> logger) : base(mediator, logger)
 {
 }
Exemplo n.º 22
0
 public MakeLoanApplicationDecisionHandler(IMediator mediator,
                                           IFlowLogger <MakeLoanApplicationDecisionHandler> logger)
     : base(mediator, logger)
 {
 }