Esempio n. 1
0
 public DefendBarrackRule(ComponentService componentService, AIDto ai, Vector2Service vector2Service, IPairFactory pairFactory, IEventStoreService eventStoreService)
 {
     _componentService = componentService;
     _ai = ai;
     _vector2Service = vector2Service;
     _pairFactory = pairFactory;
     _eventStoreService = eventStoreService;
 }
 public LowHealthUnitsWalkTogetherRule(ComponentService componentService, AIDto ai, IRepository<GameEnvironment> gameEnvironmentRepository, IVector2Service vector2Service, IEventStoreService eventStoreService)
 {
     _componentService = componentService;
     _ai = ai;
     _vector2Service = vector2Service;
     _eventStoreService = eventStoreService;
     _gameEnvironment = gameEnvironmentRepository.Get();
 }
Esempio n. 3
0
 public BuildBarrackRule(ComponentService componentService, AIDto ai, IOrientationService orientationService, IVector2Service vector2Service, IRepository<GameEnvironment> gameEnvironmentRepository, IEventStoreService eventStoreService)
 {
     _componentService = componentService;
     _ai = ai;
     _orientationService = orientationService;
     _vector2Service = vector2Service;
     _eventStoreService = eventStoreService;
     _gameEnvironment = gameEnvironmentRepository.Get();
 }
Esempio n. 4
0
 public EventStoreController(IEventStoreService evenStoreService)
 {
     _evenStoreService = evenStoreService;
 }
Esempio n. 5
0
 public InMemoryBus(IMediator mediator,
                    IEventStoreService storeService)
 {
     _mediator          = mediator;
     _eventStoreService = storeService;
 }
Esempio n. 6
0
 public ParticipanteService(IEventStoreService eventStoreService
                            )
 {
     this.eventStoreService = eventStoreService;
 }
 public EventSourcingRepository(IEventStoreService eventStoreService)
 {
     _eventStoreService = eventStoreService;
 }
Esempio n. 8
0
 public DepositAmountSuscriber(IEventStoreService service)
 {
     _service = service;
 }
Esempio n. 9
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="EfCoreSqlAggregate" /> class.
 /// </summary>
 /// <param name="eventStoreService">The event store service.</param>
 /// <param name="streamId">The stream identifier.</param>
 public EfCoreSqlAggregate(IEventStoreService <EfCoreSqlAggregate> eventStoreService, string streamId)
     : base(eventStoreService, streamId)
 {
 }
Esempio n. 10
0
 public EventStoreFilter(IEventStoreService eventService)
 {
     _eventService = eventService;
 }
 public CreateAccountSuscriber(ICreateAccountGateway gateway, IEventStoreService service, EventStoreDBContext context)
 {
     _context = context;
     _service = service;
     _gateway = gateway;
 }
Esempio n. 12
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="EventSourcingCosmosDb2Controller" /> class.
 /// </summary>
 /// <param name="svc">The SVC.</param>
 public EventSourcingCosmosDb2Controller(IEventStoreService <CosmosAggregate2> svc)
     : base(svc)
 {
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="EventSourcingRavenDbController" /> class.
 /// </summary>
 /// <param name="svc">The SVC.</param>
 public EventSourcingRavenDbController(IEventStoreService <RavenAggregate> svc)
     : base(svc)
 {
 }
 public static void UseEventStore(this IPublishPipeConfigurator configurator, IEventStoreService eventService)
 {
     configurator.AddPipeSpecification(new EventStoreSpecification(eventService));
 }
Esempio n. 15
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="RavenAggregate" /> class.
 /// </summary>
 /// <param name="eventStoreService">The event store service.</param>
 /// <param name="streamId">The stream identifier.</param>
 public RavenAggregate(IEventStoreService <RavenAggregate> eventStoreService, string streamId)
     : base(eventStoreService, streamId)
 {
 }
Esempio n. 16
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="eventStoreService"></param>
 public EventController(IEventStoreService eventStoreService)
 {
     this._eventStoreService = eventStoreService;
 }
Esempio n. 17
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="CosmosAggregate2" /> class.
 /// </summary>
 /// <param name="eventStoreService">The event store service.</param>
 /// <param name="streamId">The stream identifier.</param>
 public CosmosAggregate2(IEventStoreService <CosmosAggregate2> eventStoreService, string streamId)
     : base(eventStoreService, streamId)
 {
 }
Esempio n. 18
0
 public MediatorMemoryBus(IMediator mediator, IEventStoreService eventStoreService)
 {
     this.mediator          = mediator;
     this.eventStoreService = eventStoreService;
 }
 public CreateAccountDAO(IEventStoreService service)
 {
     _service = service;
 }
 public DomainEventHandler(IEventStoreService eventStoreService, ISnapshotStore snapshotStore, SnapshotSettings settings)
 {
     this.eventStoreService = eventStoreService;
     this.snapshotStore     = snapshotStore;
     this.settings          = settings;
 }
Esempio n. 21
0
 public InMemoryBus(IEventStoreService eventStore, IMediator mediator)
 {
     _eventStore = eventStore;
     _mediator   = mediator;
 }
 public InMemoryBus(IMediator mediator, IEventStoreService eventStore)
 {
     _mediator   = mediator;
     _eventStore = eventStore;
 }
Esempio n. 23
0
 public EventStoreSpecification(IEventStoreService eventService)
 {
     _eventService = eventService;
 }
Esempio n. 24
0
 public InMemoryBus(IMediator mediator, ServiceFactory serviceFactory, IEventStoreService eventStoreService)
 {
     _mediator          = mediator;
     _serviceFactory    = serviceFactory;
     _eventStoreService = eventStoreService;
 }
Esempio n. 25
0
 /// <summary>
 /// 构造
 /// </summary>
 /// <param name="eventStoreService"></param>
 /// <param name="eventObserverProvider"></param>
 public EventBus(IEventStoreService eventStoreService, IEventObserverProvider eventObserverProvider)
 {
     this.eventStoreService     = eventStoreService;
     this.eventObserverProvider = eventObserverProvider;
 }
Esempio n. 26
0
 public BuildInfanteryRule(ComponentService componentService, AIDto ai, IEventStoreService eventStoreService)
 {
     _componentService = componentService;
     _ai = ai;
     _eventStoreService = eventStoreService;
 }
Esempio n. 27
0
 public AttackRule(AIDto ai, IEventStoreService eventStoreService)
 {
     _ai = ai;
     _eventStoreService = eventStoreService;
 }