コード例 #1
0
 public AudioController(IAudioRepo audioRepo,
                        IMemoryCache memoryCache,
                        IAudioOwnerRepo audioOwnerRepo,
                        IUserService userService)
 {
     this.audioRepo      = audioRepo;
     this.memoryCache    = memoryCache;
     this.audioOwnerRepo = audioOwnerRepo;
     this.userService    = userService;
 }
コード例 #2
0
 public CategoriesController(IUserService userService,
                             IAudioOwnerRepo audioOwnerRepo,
                             IQuoteBotRepo quoteBotRepo,
                             ICategoryRepo categoryRepo)
 {
     this.userService    = userService;
     this.audioOwnerRepo = audioOwnerRepo;
     this.quoteBotRepo   = quoteBotRepo;
     this.categoryRepo   = categoryRepo;
 }
コード例 #3
0
 public AudioCategoryController(IAudioCategoryRepo audioCategoryRepo,
                                IAudioOwnerRepo audioOwnerRepo,
                                ICategoryRepo categoryRepo,
                                IUserService userService)
 {
     this.audioCategoryRepo = audioCategoryRepo;
     this.audioOwnerRepo    = audioOwnerRepo;
     this.categoryRepo      = categoryRepo;
     this.userService       = userService;
 }
コード例 #4
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;
 }
コード例 #5
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;
 }
コード例 #6
0
 public AudioProcessingService(IAudioRepo audioRepo, IAudioOwnerRepo audioOwnerRepo)
 {
     this.audioRepo      = audioRepo;
     this.audioOwnerRepo = audioOwnerRepo;
 }
コード例 #7
0
 public LibraryController(IAudioOwnerRepo audioOwnerRepo, IAudioProcessingService audioProcessingService)
 {
     this.audioOwnerRepo         = audioOwnerRepo;
     this.audioProcessingService = audioProcessingService;
 }