private object GetDriverConnectionConfig(string scopeId, IStorageDriverFactory storageDriverFactory) { // is it overridden in config? var value = ConfigurationManager.AppSettings["storageDriverInitString"]; return(string.IsNullOrEmpty(value) ? storageDriverFactory.GetDriverConfig(scopeId) : value); }
private object GetDriverConnectionConfig(string scopeId, IStorageDriverFactory storageDriverFactory) { // is it overridden in config? var value = ConfigurationManager.AppSettings["storageDriverInitString"]; return string.IsNullOrEmpty(value) ? storageDriverFactory.GetDriverConfig(scopeId) : value; }