Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GolfClubMembershipDomainEventHandler" /> class.
 /// </summary>
 /// <param name="commandRouter">The command router.</param>
 /// <param name="manager">The manager.</param>
 /// <param name="eventTypesToSilentlyHandle">The event types to silently handle.</param>
 public GolfClubMembershipDomainEventHandler(ICommandRouter commandRouter,
                                             IManagmentAPIManager manager,
                                             IDomainEventTypesToSilentlyHandle eventTypesToSilentlyHandle)
 {
     this.CommandRouter = commandRouter;
     this.Manager       = manager;
     this.EventTypesToSilentlyHandle = eventTypesToSilentlyHandle;
 }
Exemple #2
0
 public ReportingDomainEventHandler(IManagmentAPIManager manager,
                                    IDomainEventTypesToSilentlyHandle eventTypesToSilentlyHandle)
 {
     this.Manager = manager;
     this.EventTypesToSilentlyHandle = eventTypesToSilentlyHandle;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="HandicapCalculationDomainEventHandler"/> class.
 /// </summary>
 /// <param name="handicapCalculationProcessor">The handicap calculation processor.</param>
 /// <param name="eventTypesToSilentlyHandle">The event types to silently handle.</param>
 public HandicapCalculationDomainEventHandler(IHandicapCalculationProcessorService handicapCalculationProcessor,
                                              IDomainEventTypesToSilentlyHandle eventTypesToSilentlyHandle)
 {
     this.HandicapCalculationProcessor = handicapCalculationProcessor;
     this.EventTypesToSilentlyHandle   = eventTypesToSilentlyHandle;
 }