コード例 #1
0
 public CustomersController(
     ICustomerProfileClient customerProfileClient,
     IOperationsHistoryClient operationsHistoryClient,
     IReferralService referralService,
     IPrivateBlockchainFacadeClient pbfClient,
     ISettingsService settingsService,
     IPrivateBlockchainFacadeClient privateBlockchainFacadeClient,
     ICustomerManagementServiceClient customerManagementServiceClient,
     IWalletManagementClient walletManagementClient,
     ICrossChainWalletLinkerClient crossChainWalletLinkerClient,
     IHistoryConverter historyConverter,
     ICampaignClient campaignClient,
     IMapper mapper)
 {
     _customerProfileClient   = customerProfileClient;
     _operationsHistoryClient = operationsHistoryClient;
     _referralService         = referralService;
     _pbfClient       = pbfClient;
     _settingsService = settingsService;
     _privateBlockchainFacadeClient = privateBlockchainFacadeClient ??
                                      throw new ArgumentNullException(nameof(privateBlockchainFacadeClient));
     _customerManagementServiceClient = customerManagementServiceClient ??
                                        throw new ArgumentNullException(nameof(customerManagementServiceClient));
     _walletManagementClient = walletManagementClient ??
                               throw new ArgumentNullException(nameof(walletManagementClient));
     _crossChainWalletLinkerClient = crossChainWalletLinkerClient ??
                                     throw new ArgumentNullException(nameof(crossChainWalletLinkerClient));
     _historyConverter = historyConverter;
     _campaignClient   = campaignClient;
     _mapper           = mapper;
 }
コード例 #2
0
 public NewConvertController(ILogger <NewConvertController> logger, UserViewSource userSource, BanViewSource banSource,
                             ModuleViewSource moduleViewSource, FileViewSource fileViewSource, ContentViewSource contentViewSource,
                             CategoryViewSource categoryViewSource, VoteViewSource voteViewSource, WatchViewSource watchViewSource,
                             CommentViewSource commentViewSource, ActivityViewSource activityViewSource,
                             ContentApiDbConnection cdbconnection, IEntityProvider entityProvider,
                             ModuleMessageViewSource moduleMessageViewSource,
                             ModuleRoomMessageViewSource moduleRoomMessageViewSource,
                             NewConvertControllerConfig config,
                             IHistoryService historyService,
                             IHistoryConverter historyConverter,
                             /*ContentApiDbContext ctapiContext,*/ IMapper mapper)
 {
     this.logger         = logger;
     this.userSource     = userSource;
     this.banSource      = banSource;
     this.moduleSource   = moduleViewSource;
     this.fileSource     = fileViewSource;
     this.contentSource  = contentViewSource;
     this.categorySource = categoryViewSource;
     this.voteSource     = voteViewSource;
     this.watchSource    = watchViewSource;
     this.commentSource  = commentViewSource;
     this.activitySource = activityViewSource;
     //this.ctapiContext = ctapiContext;
     this.mapper               = mapper;
     this.newdb                = cdbconnection.Connection;
     this.entityProvider       = entityProvider;
     this.moduleMessageSource  = moduleMessageViewSource;
     this.moduleRMessageSource = moduleRoomMessageViewSource;
     this.config               = config;
     this.historyService       = historyService;
     this.historyConverter     = historyConverter;
 }
コード例 #3
0
 public CommentViewSource(ILogger <CommentViewSource> logger, IHistoryConverter historyService, BaseViewSourceServices services)
     : base(logger, services)
 {
     this.historyService = historyService;
 }
コード例 #4
0
 public ModuleRoomMessageViewSource(ILogger <CommentViewSource> logger, IHistoryConverter hconv, BaseViewSourceServices services)
     : base(logger, hconv, services)
 {
 }