Example #1
0
 private MethodInfo GetMethod(MethodBase realMethod, Type[] parameterTypes)
 {
     if (realMethod.IsGenericMethod)
     {
         return(TypeExtensions.GetGenericMethod(this._realObjectType, realMethod.Name, parameterTypes));
     }
     else
     {
         return(this._realObjectType.GetMethod(realMethod.Name, parameterTypes));
     }
 }