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