Class AbpMemberInfoExtensions
Inheritance
AbpMemberInfoExtensions
Assembly: Volo.Abp.Core.dll
Syntax
public static class AbpMemberInfoExtensions
Methods
GetSingleAttributeOfTypeOrBaseTypesOrNull<TAttribute>(Type, bool)
Declaration
public static TAttribute? GetSingleAttributeOfTypeOrBaseTypesOrNull<TAttribute>(this Type type, bool inherit = true) where TAttribute : Attribute
Parameters
| Type |
Name |
Description |
| Type |
type |
|
| bool |
inherit |
|
Returns
| Type |
Description |
| TAttribute |
|
Type Parameters
| Name |
Description |
| TAttribute |
|
GetSingleAttributeOrNull<TAttribute>(MemberInfo, bool)
Declaration
public static TAttribute? GetSingleAttributeOrNull<TAttribute>(this MemberInfo memberInfo, bool inherit = true) where TAttribute : Attribute
Parameters
Returns
| Type |
Description |
| TAttribute |
|
Type Parameters
| Name |
Description |
| TAttribute |
|