public PingCommand(IUptime uptime, IRuntimeSettings settings) { _uptime = uptime; _postFix = settings.Environment; if (!string.IsNullOrWhiteSpace(_postFix)) { _postFix = $" ({_postFix})"; } }
public Status(IUptime uptime, DiscordSocketClient client) { _uptime = uptime; _client = client; }
public HomeController(IUptime uptime) { _uptime = uptime; }
public CurrentProcessHeartbeatProvider(IUptime uptime) { _uptime = uptime; }
public ServicePreloader(GameService games, AutoReactionTrainer reactionTrainer, IReminderSender reminders, ISentimentEvaluator sentiment, IUptime uptime, ISpacexNotificationsSender spacexReminders) { // Parameters to this services cause those other services to be eagerly initialised. }