Beispiel #1
0
        public static object GetValue(object item, string name)
        {
            if (IsDynamicType(item.GetType()))
            {
                return(ZReflection.GetPropertyValueDynamic(item, name));
            }

            return(ZReflection.GetPropertyValue(item, name));
        }