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