예제 #1
0
        private PropertyInfo GetPropertyInfo(IPropertyBase efProperty)
        {
            if (efProperty.IsShadowProperty())
            {
                return(CreateShadowProperty(efProperty));
            }

            if (efProperty.PropertyInfo == null)
            {
                return(efProperty.DeclaringType.ClrType.GetPropertyIgnoreCase(efProperty.Name));
            }

            return(efProperty.PropertyInfo);
        }
예제 #2
0
 public static bool IsShadowProperty(this IPropertyBase property)
 => property.IsShadowProperty();