Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
GetCustomAttribute< AttributeType >()
[1/2]
static AttributeType System.Diagnostics.Tracing.Statics.GetCustomAttribute< AttributeType >
(
PropertyInfo
propInfo
)
inline
static
Type Constraints
AttributeType
:
Attribute
Definition at line
163
of file
Statics.cs
.
163
:
Attribute
164
{
165
AttributeType result =
null
;
166
object
[]
customAttributes
=
propInfo
.GetCustomAttributes(
typeof
(AttributeType),
inherit
:
false
);
167
if
(
customAttributes
.Length != 0)
168
{
169
return
(AttributeType)
customAttributes
[0];
170
}
171
return
result;
172
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Data.MappingType.Attribute
@ Attribute
System
Diagnostics
Tracing
Statics
Generated by
1.10.0