/// <summary> /// Gets the value of the static property specified by <paramref name="name"/> matching <paramref name="bindingFlags"/> /// of the given <paramref name="type"/>. /// </summary> public static object GetPropertyValue(this Type type, string name, Flags bindingFlags) { return(DelegateForGetStaticPropertyValue(type, name, bindingFlags)()); }
/// <summary> /// Gets the value of the static property specified by <paramref name="name"/> of the given <paramref name="type"/>. /// </summary> public static object GetPropertyValue(this Type type, string name) { return(DelegateForGetStaticPropertyValue(type, name)()); }