예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoveScenarioCommandHandler"/> class.
 /// </summary>
 /// <param name="trialSetRepository">The trial set repository.</param>
 /// <param name="eventBus">The event bus.</param>
 public RemoveScenarioCommandHandler(ITrialSetRepository trialSetRepository, IEventBus eventBus)
 {
     _trialSetRepository = trialSetRepository;
     _eventBus           = eventBus;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdateNameCommandHandler"/> class.
 /// </summary>
 /// <param name="trialSetRepository">The trial set repository.</param>
 /// <param name="eventBus">The event bus.</param>
 public UpdateNameCommandHandler(ITrialSetRepository trialSetRepository, IEventBus eventBus)
 {
     _trialSetRepository = trialSetRepository;
     _eventBus           = eventBus;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateTrialSetCommandHandler"/> class.
 /// </summary>
 /// <param name="trialSetRepository">The trial set repository.</param>
 /// <param name="eventBus">The event bus.</param>
 public CreateTrialSetCommandHandler(ITrialSetRepository trialSetRepository, IEventBus eventBus)
 {
     _trialSetRepository = trialSetRepository;
     _eventBus           = eventBus;
 }