/// <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; }
/// <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; }