internal void Configure(Settings settings)
 {
     foreach (AdaperConfigurationValue value in values.Values)
     {
         value.SetFromSettings(settings);
     }
 }
 public TwilioAdapter(Settings settings)
     : base(configuration, settings)
 {
     client = new TwilioRestClient(configuration.GetValue("TwilioAccountSid"), configuration.GetValue("TwilioAuthToken"));
     this.fromNumber = configuration.GetValue("TwilioFromNumber");
 }
 public MandrillAdapter(Settings settings)
     : base(configuration, settings)
 {
     client = new MandrillApi(configuration.GetValue("MandrillApiKey"));
     this.fromAddress = configuration.GetValue("MandrillFromAddress");
 }
 protected AdapterBase(AdapterConfiguration configuration, Settings settings)
 {
     this.settings = settings;
     this.Configuration = configuration;
     this.Configuration.Configure(settings);
 }
 public void SetFromSettings(Settings settings)
 {
     Value = settings.ConfigSettings[Name];
 }