/// <summary>Initializes a new instance of the <see cref="DeleteMessageCommandHandler"/> class.</summary> /// <param name="errorLua">The error lua.</param> /// <param name="timeFactory">Time factory</param> public MoveRecordToErrorQueueCommandHandler(ErrorLua errorLua, IUnixTimeFactory timeFactory) { Guard.NotNull(() => errorLua, errorLua); Guard.NotNull(() => timeFactory, timeFactory); _errorLua = errorLua; _unixTime = timeFactory.Create(); }
/// <summary> /// Initializes a new instance of the <see cref="DeleteMessageCommandHandler" /> class. /// </summary> /// <param name="errorLua">The error lua.</param> public MoveRecordToErrorQueueCommandHandler(ErrorLua errorLua) { Guard.NotNull(() => errorLua, errorLua); _errorLua = errorLua; }