Beispiel #1
0
 private static PropertyInfo GetProperty(
     string key)
 {
     if (!CachedReflection.Has(key))
     {
         CachedReflection.Cache(key, LogEntriesType.GetProperty(key, DefaultFlags));
     }
     return(CachedReflection.Get <PropertyInfo>(key));
 }
Beispiel #2
0
 private static MethodInfo GetMethod(
     string key)
 {
     if (!CachedReflection.Has(key))
     {
         CachedReflection.Cache(key, LogEntriesType.GetMethod(key, DefaultFlags));
     }
     return(CachedReflection.Get <MethodInfo>(key));
 }