예제 #1
0
 public JobManager(FitzContextFactory dbFactory, ActivityManager activityManager, FitzLog bloonLog, IServiceProvider services)
 {
     this.dbFactory       = dbFactory;
     this.activityManager = activityManager;
     this.bloonLog        = bloonLog;
     this.services        = services;
 }
예제 #2
0
 public CommandHandler(IServiceProvider provider)
 {
     this.provider = provider;
     this.bloonLog = provider.GetService <FitzLog>();
     this.dClient  = provider.GetService <DiscordClient>();
 }