コード例 #1
0
        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();
        }
コード例 #2
0
 public ModuleService(IOptions <AppSettings> appSettingsAccessor)
 {
     _moduleMaketProcessor = new ModuleMaketProcessor(
         appSettingsAccessor.Value.OrderImFolderTemplate,
         appSettingsAccessor.Value.DatabaseName);
 }