public SetBeginAndEndTimesCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnSetBeginAndEndTimesResponse(OnSetBeginAndEndTimesResponse); }
public SetBeginAndEndTimesCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnSetBeginAndEndTimesResponse(OnSetBeginAndEndTimesResponse); }