public RepeatIfRequiredActivity(IConsistencyConfiguration consistencyConfiguration, IScheduledEventRepository scheduledEventRepository) { _consistencyConfiguration = consistencyConfiguration; _scheduledEventRepository = scheduledEventRepository; }
public SaleCreatedHandler(IScheduledEventRepository scheduledEventRepository, IConsistencyConfiguration consistencyConfiguration) { _scheduledEventRepository = scheduledEventRepository ?? throw new ArgumentNullException(nameof(scheduledEventRepository)); _consistencyConfiguration = consistencyConfiguration ?? throw new ArgumentNullException(nameof(consistencyConfiguration)); }