示例#1
0
        public static ICqrsConfigurer AddCatalogEventsRoute(this ICqrsConfigurer configurer)
        {
            configurer.AddEventsRouteFromAssemblyOfType <MovieAddedEvent>(Queues.Catalog.EventsQueueName);

            return(configurer);
        }
示例#2
0
        public static ICqrsConfigurer AddVehicleEventsRoute(this ICqrsConfigurer configurer)
        {
            configurer.AddEventsRouteFromAssemblyOfType <VehicleAddedEvent>(Queues.Vehicle.EventsQueueName);

            return(configurer);
        }
示例#3
0
        public static ICqrsConfigurer AddPartEventsRoute(this ICqrsConfigurer configurer)
        {
            configurer.AddEventsRouteFromAssemblyOfType <PartAddedEvent>(Queues.Part.EventsQueueName);

            return(configurer);
        }