public TradingService(IHttpClientFactory factory, IRokiConfig config, RokiContext context, ICurrencyService currency, IConfigurationService service) { _factory = factory; _config = config; _context = context; _currency = currency; _service = service; }
public TwitterCommands(IRokiConfig config) { _twitterCtx = new TwitterContext(new SingleUserAuthorizer { CredentialStore = new SingleUserInMemoryCredentialStore { ConsumerKey = config.TwitterConsumer, ConsumerSecret = config.TwitterConsumerSecret, AccessToken = config.TwitterAccessToken, AccessTokenSecret = config.TwitterAccessSecret } }); }
public StocksService(IRokiConfig config, IHttpClientFactory httpFactory) { _config = config; _httpFactory = httpFactory; }
public InfoCommands(DiscordSocketClient client, IStatsService stats, IRokiConfig config) { _client = client; _stats = stats; _config = config; }
public SearchService(IHttpClientFactory http, IRokiConfig config) { _http = http; _config = config; }
public Searches(IRokiConfig config, IGoogleApiService google, IHttpClientFactory http) { _config = config; _google = google; _http = http; }
public PortfolioService(IHttpClientFactory factory, IRokiConfig config, RokiContext context) { _factory = factory; _config = config; _context = context; }