예제 #1
0
파일: LogEntries.cs 프로젝트: yhnu/conso
 private static PropertyInfo GetProperty(
     string key)
 {
     if (!CachedReflection.Has(key))
     {
         CachedReflection.Cache(key, LogEntriesType.GetProperty(key, DefaultFlags));
     }
     return(CachedReflection.Get <PropertyInfo>(key));
 }
예제 #2
0
파일: LogEntries.cs 프로젝트: yhnu/conso
 private static MethodInfo GetMethod(
     string key)
 {
     if (!CachedReflection.Has(key))
     {
         CachedReflection.Cache(key, LogEntriesType.GetMethod(key, DefaultFlags));
     }
     return(CachedReflection.Get <MethodInfo>(key));
 }