Пример #1
0
 public VipService(
     IGiftVipCommand giftVipCommand,
     IRefundVipCommand refundVipCommand,
     ICheckUserHasVipsQuery checkUserHasVipsQuery,
     IUseVipCommand useVipCommand,
     IUseSuperVipCommand useSuperVipCommand,
     IModGiveVipCommand modGiveVipCommand,
     IGetUsersGiftedVipsQuery getUsersGiftedVipsQuery,
     IGetUserVipCountQuery getUserVipCountQuery,
     IGiveSubscriptionVipsCommand giveSubscriptionVipsCommand,
     IUpdateTotalBitsCommand updateTotalBitsCommand,
     IGetUserByteCountQuery getUserByteCountQuery,
     IConvertBytesCommand convertBytesCommand,
     IConvertAllBytesCommand convertAllBytesCommand,
     IGiveGiftSubBytesCommand giveGiftSubBytesCommand,
     IConfigService configService,
     ISignalRService signalRService,
     IClientIdService clientIdService,
     ILogger <IVipService> logger)
 {
     _giftVipCommand              = giftVipCommand;
     _refundVipCommand            = refundVipCommand;
     _checkUserHasVipsQuery       = checkUserHasVipsQuery;
     _useVipCommand               = useVipCommand;
     _useSuperVipCommand          = useSuperVipCommand;
     _modGiveVipCommand           = modGiveVipCommand;
     _getUsersGiftedVipsQuery     = getUsersGiftedVipsQuery;
     _getUserVipCountQuery        = getUserVipCountQuery;
     _giveSubscriptionVipsCommand = giveSubscriptionVipsCommand;
     _updateTotalBitsCommand      = updateTotalBitsCommand;
     _getUserByteCountQuery       = getUserByteCountQuery;
     _convertBytesCommand         = convertBytesCommand;
     _convertAllBytesCommand      = convertAllBytesCommand;
     _giveGiftSubBytesCommand     = giveGiftSubBytesCommand;
     _configService               = configService;
     _signalRService              = signalRService;
     _clientIdService             = clientIdService;
     _logger = logger;
 }
Пример #2
0
 public ClientIdController(ILogger <ClientIdController> logger,
                           IClientIdService clientIdService)
 {
     _logger          = logger;
     _clientIdService = clientIdService;
 }