Пример #1
0
 public SigTesterService(
     IEksBuilder eksZipBuilder,
     IUtcDateTimeProvider dateTimeProvider,
     SigTestFileCreatorLoggingExtensions logger
     )
 {
     _eksZipBuilder    = eksZipBuilder ?? throw new ArgumentNullException(nameof(eksZipBuilder));
     _dateTimeProvider = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider));
     _logger           = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Пример #2
0
        public SigTesterService(
            IEksBuilder eksZipBuilder,
            IUtcDateTimeProvider dateTimeProvider,
            SigTestFileCreatorLoggingExtensions logger
            )
        {
            _EksZipBuilder    = eksZipBuilder ?? throw new ArgumentNullException(nameof(eksZipBuilder));
            _DateTimeProvider = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider));
            _Logger           = logger ?? throw new ArgumentNullException(nameof(logger));

            _fileInputLocation     = @"H:\test.txt";
            _eksFileOutputLocation = @"H:\testresult-eks.zip";
        }