public PositionImProcessor( BPFinanceContext context, IBPFinanceRepository repository, IOrderImProcessor orderImProcessor, IStringProcessor stringProcessor, IModuleProcessor moduleProcessor, IModuleMaketProcessor moduleMaketProcessor) { _context = context; _repository = repository; _orderImProcessor = orderImProcessor; _stringProcessor = stringProcessor; _moduleProcessor = moduleProcessor; _moduleMaketProcessor = moduleMaketProcessor; _positionImFactory = new PositionImFactory(); }
public ModuleService(IOptions <AppSettings> appSettingsAccessor) { _moduleMaketProcessor = new ModuleMaketProcessor( appSettingsAccessor.Value.OrderImFolderTemplate, appSettingsAccessor.Value.DatabaseName); }