コード例 #1
0
 public QuotesController(IAudioOwnerRepo audioOwnerRepo,
                         IUserService userService,
                         IAudioProcessingService audioProcessingService,
                         IQuoteBotRepo quoteBotRepo,
                         ICategoryRepo categoryRepo,
                         IAudioCategoryRepo audioCategoryRepo)
 {
     this.audioOwnerRepo         = audioOwnerRepo;
     this.userService            = userService;
     this.audioProcessingService = audioProcessingService;
     this.quoteBotRepo           = quoteBotRepo;
     this.categoryRepo           = categoryRepo;
     this.audioCategoryRepo      = audioCategoryRepo;
 }
コード例 #2
0
 public GuildController(IQuoteBotRepo quoteBotRepo,
                        IAudioOwnerRepo audioOwnerRepo,
                        IAudioProcessingService audioProcessingService,
                        IUserService userService,
                        IDiscordHttp discordHttp,
                        IServerRepo serverRepo,
                        IMemoryCache memoryCache,
                        IOptions <AuthOptions> authOptions)
 {
     this.userService = userService;
     this.discordHttp = discordHttp;
     this.serverRepo  = serverRepo;
     this.memoryCache = memoryCache;
     this.authOptions = authOptions;
 }
コード例 #3
0
 public LibraryController(IAudioOwnerRepo audioOwnerRepo, IAudioProcessingService audioProcessingService)
 {
     this.audioOwnerRepo         = audioOwnerRepo;
     this.audioProcessingService = audioProcessingService;
 }