Attributeのヘルパークラス。
More...
◆ GetAttribute()
static Attribute GetAttribute |
( |
MemberInfo |
member, |
|
|
System.Type |
targetType |
|
) |
| |
|
static |
Attributeを取得
- Parameters
-
member | MemberInfo |
targetType | 取得する型 |
- Returns
- Attribute
◆ GetAttribute< T >()
Attributeを取得 (generic)
- Template Parameters
-
- Parameters
-
- Returns
- Attribute
◆ GetAttributes()
static Attribute [] GetAttributes |
( |
MemberInfo |
member | ) |
|
|
static |
Attributeを取得。
- Parameters
-
- Returns
- Attributes
◆ GetAttributes< T >()
Attributeの配列を取得 (generic)
- Template Parameters
-
- Parameters
-
- Returns
- Attributeの配列
◆ HasAttribute()
static bool HasAttribute |
( |
MemberInfo |
member, |
|
|
System.Type |
targetType |
|
) |
| |
|
static |
Attributeがあるかどうか。
- Parameters
-
member | MemberInfo |
targetType | 取得する型 |
- Returns
- Attributeがあるかどうか。
◆ HasAttribute< T >()
Attributeがあるかどうか。
- Template Parameters
-
- Parameters
-
- Returns
- Attributeがあるかどうか。