Пример #1
0
 public WalletsController(IRequestContext requestContext, IClientAccountClient clientAccountService, IBalancesClient balancesClient, IHftInternalServiceAPI hftInternalService)
 {
     _requestContext       = requestContext ?? throw new ArgumentNullException(nameof(requestContext));
     _clientAccountService = clientAccountService ?? throw new ArgumentNullException(nameof(clientAccountService));
     _balancesClient       = balancesClient ?? throw new ArgumentNullException(nameof(balancesClient));
     _hftInternalService   = hftInternalService ?? throw new ArgumentNullException(nameof(hftInternalService));
 }
Пример #2
0
 public HftController(IHftInternalServiceAPI hftInternalService, IRequestContext requestContext)
 {
     _hftInternalService = hftInternalService ?? throw new ArgumentNullException(nameof(hftInternalService));
     _requestContext     = requestContext ?? throw new ArgumentNullException(nameof(requestContext));
 }