HasAttribute
public static bool HasAttribute(Assembly assembly, Type targetType) ;
Whether has Attribute
Parameter Name | Description |
---|---|
assembly | Assembly |
targetType | Target Type |
Whether has attribute.
public static bool HasAttribute<T>(Assembly assembly) ;
Whether has Attribute
Type Parameter Name | Description | Type Constraints |
---|---|---|
T | Target Type |
|
Parameter Name | Description |
---|---|
assembly | Assembly |
Whether has attribute.
public static bool HasAttribute(MemberInfo member, Type targetType) ;
Whether has Attribute
Parameter Name | Description |
---|---|
member | MemberInfo |
targetType | Target Type |
Whether has attribute.
public static bool HasAttribute(Type type, Type targetType) ;
Whether has Attribute
Parameter Name | Description |
---|---|
type | Type |
targetType | Target Type |
Whether has attribute.
public static bool HasAttribute<T>(MemberInfo member) ;
Whether has Attribute
Type Parameter Name | Description | Type Constraints |
---|---|---|
T | Target Type |
|
Parameter Name | Description |
---|---|
member | MemberInfo |
Whether has attribute.
public static bool HasAttribute<T>(Type type) ;
Whether has Attribute
Type Parameter Name | Description | Type Constraints |
---|---|---|
T | Target Type |
|
Parameter Name | Description |
---|---|
type | Type |
Whether has attribute.