Exemplo n.º 1
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     SFDCConfig    = ConfigurationBinder.Get <SalesforceConfig>(Configuration.GetSection(Keys.Sections.SalesforceSettings));
     BlendConfig   = ConfigurationBinder.Get <BlendConfig>(Configuration.GetSection(Keys.Sections.BlendSettings));
 }
Exemplo n.º 2
0
 public BlendClient(ILogger logger, BlendConfig config)
 {
     this.Logger = logger;
     this.config = config;
     _httpClient = new HttpClient();
 }