コード例 #1
0
 private void RegisterEventProcessors(UnityContainer container)
 {
     container.RegisterEventProcessor<RegistrationProcessRouter>(this.busConfig, Topics.Events.Subscriptions.RegistrationProcessRouter);
     container.RegisterEventProcessor<OrderViewModelGenerator>(this.busConfig, Topics.Events.Subscriptions.OrderViewModelGenerator);
     container.RegisterEventProcessor<PricedOrderViewModelGenerator>(this.busConfig, Topics.Events.Subscriptions.PricedOrderViewModelGenerator);
     container.RegisterEventProcessor<ConferenceViewModelGenerator>(this.busConfig, Topics.Events.Subscriptions.ConferenceViewModelGenerator);
     container.RegisterEventProcessor<SeatAssignmentsViewModelGenerator>(this.busConfig, Topics.Events.Subscriptions.SeatAssignmentsViewModelGenerator);
     container.RegisterEventProcessor<SeatAssignmentsHandler>(this.busConfig, Topics.Events.Subscriptions.SeatAssignmentsHandler);
     container.RegisterEventProcessor<global::Conference.OrderEventHandler>(this.busConfig, Topics.Events.Subscriptions.OrderEventHandler);
 }
コード例 #2
0
        private void RegisterEventProcessors(UnityContainer container)
        {
            container.RegisterType<RegistrationProcessManagerRouter>(new ContainerControlledLifetimeManager());

            container.RegisterEventProcessor<RegistrationProcessManagerRouter>(this.busConfig, Topics.Events.Subscriptions.RegistrationPMNextSteps, this.instrumentationEnabled);
            container.RegisterEventProcessor<PricedOrderViewModelGenerator>(this.busConfig, Topics.Events.Subscriptions.PricedOrderViewModelGeneratorV3, this.instrumentationEnabled);
            container.RegisterEventProcessor<ConferenceViewModelGenerator>(this.busConfig, Topics.Events.Subscriptions.ConferenceViewModelGenerator, this.instrumentationEnabled);

            container.RegisterEventProcessor<RegistrationProcessManagerRouter>(this.busConfig, Topics.EventsOrders.Subscriptions.RegistrationPMOrderPlacedOrders, this.instrumentationEnabled);
            container.RegisterEventProcessor<RegistrationProcessManagerRouter>(this.busConfig, Topics.EventsOrders.Subscriptions.RegistrationPMNextStepsOrders, this.instrumentationEnabled);
            container.RegisterEventProcessor<DraftOrderViewModelGenerator>(this.busConfig, Topics.EventsOrders.Subscriptions.OrderViewModelGeneratorOrders, this.instrumentationEnabled);
            container.RegisterEventProcessor<PricedOrderViewModelGenerator>(this.busConfig, Topics.EventsOrders.Subscriptions.PricedOrderViewModelOrders, this.instrumentationEnabled);
            container.RegisterEventProcessor<SeatAssignmentsViewModelGenerator>(this.busConfig, Topics.EventsOrders.Subscriptions.SeatAssignmentsViewModelOrders, this.instrumentationEnabled);
            container.RegisterEventProcessor<SeatAssignmentsHandler>(this.busConfig, Topics.EventsOrders.Subscriptions.SeatAssignmentsHandlerOrders, this.instrumentationEnabled);
            container.RegisterEventProcessor<Conference.OrderEventHandler>(this.busConfig, Topics.EventsOrders.Subscriptions.OrderEventHandlerOrders, this.instrumentationEnabled);

            container.RegisterEventProcessor<RegistrationProcessManagerRouter>(this.busConfig, Topics.EventsAvailability.Subscriptions.RegistrationPMNextStepsAvail, this.instrumentationEnabled);
            container.RegisterEventProcessor<ConferenceViewModelGenerator>(this.busConfig, Topics.EventsAvailability.Subscriptions.ConferenceViewModelAvail, this.instrumentationEnabled);
        }
コード例 #3
0
 private void RegisterEventProcessors(UnityContainer container)
 {
     container.RegisterEventProcessor<RegistrationProcessManagerRouter>(this.busConfig, "Registration.RegistrationProcessRouter", this.instrumentationEnabled);
     container.RegisterEventProcessor<RegistrationV2.Handlers.OrderViewModelGenerator>(this.busConfig, "Registration.OrderViewModelGenerator", this.instrumentationEnabled);
     container.RegisterEventProcessor<RegistrationV2.Handlers.PricedOrderViewModelGenerator>(this.busConfig, "Registration.PricedOrderViewModelGenerator", this.instrumentationEnabled);
     container.RegisterEventProcessor<Registration.Handlers.SeatAssignmentsViewModelGenerator>(this.busConfig, "Registration.SeatAssignmentsViewModelGenerator", this.instrumentationEnabled);
 }