Example #1
0
 /// <summary>
 /// Returns the attribute object for the specified type,
 /// climbing the hierarchy until Node is reached or the attribute is found
 /// </summary>
 /// <param name="InstanceType">The type to search</param>
 /// <typeparam name="T">The type to find</typeparam>
 /// <returns>The attribute object for the specified type or null if not found</returns>
 public static T FindClassAttributeInNode <T>(Type InstanceType) where T : Attribute
 {
     return(MDReflectionCache.FindClassAttributeInNode <T>(InstanceType));
 }