public PoorOrderingOfClassMembers(DateTime startTime, DateTime endTime, IEncoderApi encoderApi) { _startTime = startTime; _endTime = endTime; _encoderApi = encoderApi; if (_endTime > DateTime.Now.AddDays(1).Date) { _endTime = DateTime.Now.AddDays(1).Date; } _clientHelper = new SoapClientHelper(); }