Beispiel #1
0
 public static System.Reflection.PropertyInfo ResolveProperty(this PropertyInfo propertyInfo, ITypeResolver typeResolver, BindingFlags bindingAttr)
 => propertyInfo?.ResolveDeclaringType(typeResolver).GetProperty(propertyInfo.Name, bindingAttr);
Beispiel #2
0
 public static System.Reflection.PropertyInfo ResolveProperty(this PropertyInfo propertyInfo, ITypeResolver typeResolver)
 => propertyInfo?.ResolveDeclaringType(typeResolver).GetTypeInfo().GetDeclaredProperty(propertyInfo.Name);