/// <summary> /// /// </summary> /// <param name="attributeProvider"></param> /// <param name="comparisonType"></param> /// <param name="inherit"></param> /// <returns></returns> public static AttributeMemberDescriptors RetrieveMemberDescriptors(ICustomAttributeProvider attributeProvider, Type comparisonType, bool inherit = false) { return(AttributeMemberHelpers.RetrieveMemberDescriptors <AttributeMemberDescriptor, AttributeMemberDescriptors>(attributeProvider, comparisonType, inherit)); }
/// <summary> /// /// </summary> /// <param name="instance"></param> /// <param name="inherit"></param> /// <returns></returns> public static AttributeMemberDescriptors RetrieveMemberDescriptors(object instance, bool inherit = false) { return(AttributeMemberHelpers.RetrieveMemberDescriptors <AttributeMemberDescriptor, AttributeMemberDescriptors>(instance, inherit)); }