Exemple #1
0
 public static MethodReflector GetReflector(this MethodInfo method, CallOptions callOption)
 {
     if (method == null)
     {
         throw new ArgumentNullException(nameof(method));
     }
     return(MethodReflector.Create(method, callOption));
 }
Exemple #2
0
 public static MethodInfo GetMethodInfo(this MethodReflector reflector) => reflector?.GetMemberInfo();