Пример #1
0
 private static void AddObjectDetail(Object obj, List <KeyValuePair <String, String> > list, String prefix)
 {
     if (obj is IFormattable || obj is String)
     {
         CacheManager.AddSimpleObjectDetail(obj, list, prefix);
     }
     else if (obj is IEnumerable)
     {
         CacheManager.AddEnumerableObjectDetail(obj as IEnumerable, list, prefix);
     }
     else
     {
         CacheManager.AddNormalObjectDetail(obj, list, prefix);
     }
 }