Exemple #1
0
 public ASCIIFileProcess(
     FlatFile fileInfo,
     MSD1FileProcess msd1FileProcess,
     MSD2FileProcess msd2FileProcess,
     MSD3FileProcess msd3FileProcess,
     LogFileData logFileData,
     ValidateMsdData validateMsdData,
     IEmailSender emailSender,
     IFileProcessService fileProcessService,
     IMsd1DataService msd1DataService,
     IMsd2DataService msd2DataService,
     IMsd3DataService msd3DataService,
     ILogger <ASCIIFileProcess> logger,
     IOptions <FileOptions> settings
     )
 {
     _fileInfo           = fileInfo;
     _logFileData        = logFileData;
     _msd1FileProcess    = msd1FileProcess;
     _msd2FileProcess    = msd2FileProcess;
     _msd3FileProcess    = msd3FileProcess;
     _validateMsdData    = validateMsdData;
     _fileProcessService = fileProcessService;
     _msd1DataService    = msd1DataService;
     _msd2DataService    = msd2DataService;
     _msd3DataService    = msd3DataService;
     _emailSender        = emailSender;
     _logger             = logger;
     _settings           = settings.Value;
     headerErrors        = new StringBuilder();
     bodyErrorMsg        = new StringBuilder();
 }
Exemple #2
0
 public GESMESFileProcess(
     FlatFile fileInfo,
     LogFileData logFileData,
     GesmesHelpers gesmesHelpers,
     ValidateMsdData validateMsdData,
     Msd1FileProcess msd1FileProcess,
     Msd2FileProcess msd2FileProcess,
     Msd3FileProcess msd3FileProcess,
     IMsd1DataService msd1DataService,
     IMsd2DataService msd2DataService,
     IMsd3DataService msd3DataService,
     IFileProcessService fileProcessService,
     IHelperService helperService,
     IOptions <FileOptions> settings,
     IEmailSender emailSender,
     ILogger <GESMESFileProcess> logger)
 {
     _fileInfo           = fileInfo;
     _logFileData        = logFileData;
     _gesmesHelpers      = gesmesHelpers;
     _helperService      = helperService;
     _msd1DataService    = msd1DataService;
     _msd2DataService    = msd2DataService;
     _msd3DataService    = msd3DataService;
     _validateMsdData    = validateMsdData;
     _fileProcessService = fileProcessService;
     _logger             = logger;
     _settings           = settings.Value;
     _emailSender        = emailSender;
     _msd1FileProcess    = msd1FileProcess;
     _msd2FileProcess    = msd2FileProcess;
     _msd3FileProcess    = msd3FileProcess;
     headerErrors        = new StringBuilder();
     bodyErrorMsg        = new StringBuilder();
 }
 public CargoReturnModel(PortFreightContext context, UserManager <PortFreightUser> userManager, IHelperService helperService, IMsd2DataService msd2DataService)
 {
     _context         = context;
     _userManager     = userManager;
     _helperService   = helperService;
     _msd2DataService = msd2DataService;
 }
        public EditModel(PortFreightContext context,
                         UserManager <PortFreightUser> userManager,
                         IMsd2DataService msd2DataService,
                         ILogger <EditModel> logger,

                         UserDbContext userContext)
        {
            _context         = context;
            _userManager     = userManager;
            _logger          = logger;
            _msd2DataService = msd2DataService;
        }
 public MSD2FileProcess(Msd2 msd2,
                        FlatFile fileInfo,
                        ValidateMsdData validateMsdData,
                        IHelperService helperService,
                        IFileProcessService fileProcessService,
                        IMsd2DataService msd2DataService,
                        ILogger <MSD2FileProcess> logger
                        )
 {
     _msd2               = msd2;
     _fileInfo           = fileInfo;
     _validateMsdData    = validateMsdData;
     _helperService      = helperService;
     _fileProcessService = fileProcessService;
     _msd2DataService    = msd2DataService;
     _logger             = logger;
     recordErrors        = new StringBuilder();
     bodyErrorMsg        = new StringBuilder();
 }