packages/System.Reflection.Extensions.4.3.0/ref/netcore50/System.Reflection.Extensions.xml
(开头部分) 41KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Reflection.Extensions</name>
</assembly>
<members>
<member name="T:System.Reflection.CustomAttributeExtensions">
<summary>Contains static methods for retrieving custom attributes.</summary>
</member>
<member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.Assembly)">
<summary>Retrieves a custom attribute of a specified type that is applied to a specified assembly. </summary>
<returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
<param name="element">The assembly to inspect.</param>
<typeparam name="T">The type of attribute to search for.</typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is null. </exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
</member>
<member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.Assembly,System.Type)">
<summary>Retrieves a custom attribute of a specified type that is applied to a specified assembly.</summary>
<returns>A custom attribute that matches <paramref name="attributeType" />, or null if no such attribute is found.</returns>
<param name="element">The assembly to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
</member>
<member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.MemberInfo)">
<summary>Retrieves a custom attribute of a specified type that is applied to a specified member.</summary>
<returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
<param name="element">The member to inspect.</param>
<typeparam name="T">The type of attribute to search for.</typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is null. </exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
</member>
<member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.MemberInfo,System.Boolean)">
<summary>Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.</summary>
<returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
<param name="element">The member to inspect.</param>
<param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
<typeparam name="T">The type of attribute to search for.</typeparam>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is null. </exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
</member>
<member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo,System.Type)">
<summary>Retrieves a custom attribute of a specified type that is applied to a specified member.</summary>
<returns>A custom attribute that matches <paramref name="attributeType" />, or null if no such attribute is found.</returns>
<param name="element">The member to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<exception cref="T:System.ArgumentNullException">
后面还有 432 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
