コード例 #1
0
 public GameService(TradingPlatformDbContext dbContext, IAccountService accountService,
                    IKeystoreService keystoreService)
 {
     this.dbContext       = dbContext;
     this.accountService  = accountService;
     this.keystoreService = keystoreService;
 }
コード例 #2
0
 public AccountService(IAuth authService, UserManager <User> userManager,
                       TradingPlatformDbContext dbContext, IHttpContextAccessor httpContextAccessor)
 {
     this.authService         = authService;
     this.userManager         = userManager;
     this.dbContext           = dbContext;
     this.httpContextAccessor = httpContextAccessor;
 }
コード例 #3
0
 public PaymentService(TradingPlatformDbContext dbContext, ICacheService cache, IKeystoreService keystoreService,
                       IAccountService accountService, IOrderService orderService, IHttpContextAccessor httpContextAccessor,
                       ISmtpService smtpService, INotifierService notifierService, IHashService hashService)
 {
     this.dbContext           = dbContext;
     this.cache               = cache;
     this.keystoreService     = keystoreService;
     this.accountService      = accountService;
     this.orderService        = orderService;
     this.httpContextAccessor = httpContextAccessor;
     this.smtpService         = smtpService;
     this.notifierService     = notifierService;
     this.hashService         = hashService;
 }
コード例 #4
0
 public OrderService(TradingPlatformDbContext dbContext, IHashService hashService)
 {
     this.dbContext   = dbContext;
     this.hashService = hashService;
 }