| 1234567891011121314151617181920212223242526272829 | 
							- using Microsoft.Extensions.Configuration;
 
- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- namespace OASystem.RedisRepository.Config
 
- {
 
-     internal class ConfigHelper
 
-     {
 
-         //internal static T Get<T>(string appSettingsKey, T defaultValue)
 
-         //{
 
-         //    //string text = ConfigurationManager.AppSettings[appSettingsKey];
 
-         //    //if (string.IsNullOrWhiteSpace(text))
 
-         //    //    return defaultValue;
 
-         //    //try
 
-         //    //{
 
-         //    //    var value = Convert.ChangeType(text, typeof(T));
 
-         //    //    return (T)value;
 
-         //    //}
 
-         //    //catch
 
-         //    //{
 
-         //    //    return defaultValue;
 
-         //    //}
 
-         //}
 
-     }
 
- }
 
 
  |