예제 #1
0
 public RepeatIfRequiredActivity(IConsistencyConfiguration consistencyConfiguration, IScheduledEventRepository scheduledEventRepository)
 {
     _consistencyConfiguration = consistencyConfiguration;
     _scheduledEventRepository = scheduledEventRepository;
 }
예제 #2
0
 public SaleCreatedHandler(IScheduledEventRepository scheduledEventRepository, IConsistencyConfiguration consistencyConfiguration)
 {
     _scheduledEventRepository = scheduledEventRepository ?? throw new ArgumentNullException(nameof(scheduledEventRepository));
     _consistencyConfiguration = consistencyConfiguration ?? throw new ArgumentNullException(nameof(consistencyConfiguration));
 }