コード例 #1
0
 public FxTradeTypeCommandsHandler(
     ILogger <FxTradeTypeCommandsHandler> logger,
     IIdentityService identityService,
     IUnitOfWork unitOfWork,
     IMapper mapper,
     IFxTradeTypeRepository fxTradeTypeConfigurationRepository)
 {
     _unitOfWork            = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _logger                = logger ?? throw new ArgumentNullException(nameof(logger));
     _identityService       = identityService ?? throw new ArgumentNullException(nameof(identityService));
     _mapper                = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _fxTradeTypeRepository = fxTradeTypeConfigurationRepository ?? throw new ArgumentNullException(nameof(fxTradeTypeConfigurationRepository));
 }
コード例 #2
0
ファイル: FxTradeTypesController.cs プロジェクト: mrsunil/bp2
 public FxTradeTypesController(IUnitOfWork unitOfWork, IFxTradeTypeRepository fxTradeTypeRepository, IMediator mediator)
 {
     _unitOfWork            = unitOfWork;
     _fxTradeTypeRepository = fxTradeTypeRepository;
     _mediator = mediator;
 }