/// <summary> /// Initializes a new instance of the <see cref="RollbackMessageCommandHandler" /> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="resetHeartbeatLua">The reset heartbeat lua.</param> /// <param name="unixTimeFactory">The unix time factory.</param> /// <param name="options">The options.</param> /// <param name="queueContext">The queue context.</param> public ResetHeartBeatCommandHandler(IHeartBeatConfiguration configuration, ResetHeartbeatLua resetHeartbeatLua, IUnixTimeFactory unixTimeFactory, RedisQueueTransportOptions options, QueueContext queueContext) { Guard.NotNull(() => configuration, configuration); Guard.NotNull(() => resetHeartbeatLua, resetHeartbeatLua); Guard.NotNull(() => unixTimeFactory, unixTimeFactory); Guard.NotNull(() => options, options); Guard.NotNull(() => queueContext, queueContext); _configuration = configuration; _resetHeartbeatLua = resetHeartbeatLua; _unixTimeFactory = unixTimeFactory; _options = options; }