public MessageSubscriptionInitializer( IMessageSubscriptionConfig messageSubscriptionConfig, IMessageSubscriptionRegistration[] registrations ) { _messageSubscriptionConfig = messageSubscriptionConfig; _registrations = registrations; }
public MessageSubscriptionInitializer( IMessageSubscriptionConfig messageSubscriptionConfig, IEnumerable <IMessageSubscriptionRegistration> registrations ) { _messageSubscriptionConfig = messageSubscriptionConfig; _registrations = registrations; }
public void Register(IMessageSubscriptionConfig config) { config.Subscribe <CustomEntityAddedMessage, BookingProvider>(); config.Subscribe <ICustomEntityContentUpdatedMessage, BookingProvider>(); config.Subscribe <CustomEntityDeletedMessage, BookingProvider>(); config.Subscribe <CustomEntityAddedMessage, TenantCategoryProvider>(); config.Subscribe <ICustomEntityContentUpdatedMessage, TenantCategoryProvider>(); config.Subscribe <CustomEntityDeletedMessage, TenantCategoryProvider>(); }
public void Register(IMessageSubscriptionConfig config) { config.Subscribe <ICustomEntityContentUpdatedMessage, BlogPostUpdatedMessageHandler>(); }