Esempio n. 1
0
 public SagaCoordinator(ISagaSeeker seeker, ISagaInitializer initializer, ISagaProcessor processor,
                        ISagaPostProcessor postProcessor)
 {
     _seeker        = seeker;
     _initializer   = initializer;
     _processor     = processor;
     _postProcessor = postProcessor;
 }
        public SagaProcessorBuilder(
            ISagaVersionFactory versionFactory,
            ISagaProcessor processor)
        {
            _versionFactory = versionFactory;
            _processor      = processor;

            _versionBuilders = new List <SagaVersionBuilder>();
        }