Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostEventCommandHandlerDecorator{TCommand}" /> class.
 /// </summary>
 /// <param name="lockEventRepository">The lock event repository.</param>
 /// <param name="commandHandler">The command handler.</param>
 public PostLockEventCommandHandlerDecorator(
     ILockEventRepository lockEventRepository,
     ILockEventTypeLookup eventTypeLookup,
     ICommandHandler <TCommand> commandHandler,
     IMapper mapper)
 {
     this.lockEventRepository = lockEventRepository;
     this.eventTypeLookup     = eventTypeLookup;
     this.commandHandler      = commandHandler;
     this.mapper = mapper;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LockEventTypeLookup"/> class.
 /// </summary>
 /// <param name="lockEventRepository">The lock event repository.</param>
 public LockEventTypeLookup(ILockEventRepository lockEventRepository)
 {
     this.lockEventRepository = lockEventRepository;
 }