Пример #1
0
 public Object GetBeanPropInternal(Object @object, String key)
 {
     try
     {
         var result = _fastMethod.Invoke(@object, null);
         return(GenericExtensions.FetchKeyedValue(result, key, null));
     }
     catch (InvalidCastException e)
     {
         throw PropertyUtility.GetMismatchException(_fastMethod.Target, @object, e);
     }
     catch (TargetInvocationException e)
     {
         throw PropertyUtility.GetInvocationTargetException(_fastMethod.Target, e);
     }
 }