public BotInfoCommands(CommandService commandService, IOptionsSnapshot <WsbcOptions> coinOptions, IOptionsSnapshot <DiscordOptions> discordOptions) { this._commandService = commandService; this._coinOptions = coinOptions.Value; this._discordOptions = discordOptions.Value; }
public TxBitDataClient(IHttpClientFactory clientFactory, ILogger <TxBitDataClient> log, IOptionsSnapshot <WsbcOptions> wsbcOptions, IOptionsSnapshot <TxBitOptions> txbitOptions) { this._clientFactory = clientFactory; this._log = log; this._wsbcOptions = wsbcOptions.Value; this._txbitOptions = txbitOptions.Value; }
public CoinDataEmbedBuilder(IOptionsSnapshot <WsbcOptions> options, IOptionsSnapshot <MiningPoolStatsOptions> poolStatsOptions) { this._options = options.Value; this._poolStatsOptions = poolStatsOptions.Value; }