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