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