Example #1
0
 public static PropertyReflector GetReflector(this PropertyInfo property, CallOptions callOption)
 {
     if (property == null)
     {
         throw new ArgumentNullException(nameof(property));
     }
     return(PropertyReflector.Create(property, callOption));
 }
Example #2
0
 public static PropertyInfo GetPropertyInfo(this PropertyReflector reflector) => reflector?.GetMemberInfo();