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