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