public MessageSender( IDistributedEventBus eventBus, ISnowflakeIdrGenerator snowflakeIdrGenerator) { EventBus = eventBus; SnowflakeIdrGenerator = snowflakeIdrGenerator; }
public NotificationSender( IDistributedEventBus distributedEventBus, ISnowflakeIdrGenerator snowflakeIdrGenerator, IOptions <AbpNotificationOptions> options) { Options = options.Value; DistributedEventBus = distributedEventBus; SnowflakeIdGenerator = snowflakeIdrGenerator; Logger = NullLogger <NotificationSender> .Instance; }