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