Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
DisplayName
override
string
System.ComponentModel.ExtendedPropertyDescriptor.DisplayName
get
Definition at line
17
of file
ExtendedPropertyDescriptor.cs
.
18
{
19
get
20
{
21
string
text
=
base
.DisplayName;
22
if
(!(
Attributes
[
typeof
(DisplayNameAttribute)]
is
DisplayNameAttribute
displayNameAttribute
) ||
displayNameAttribute
.IsDefaultAttribute())
23
{
24
string
text2
=
MemberDescriptor
.GetSite(
_provider
)?.Name;
25
if
(
text2
!=
null
&&
text2
.Length > 0)
26
{
27
text
=
System
.
SR
.
Format
(
System
.
SR
.
MetaExtenderName
,
text
,
text2
);
28
}
29
}
30
return
text
;
31
}
32
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.ComponentModel.ExtendedPropertyDescriptor._provider
readonly IExtenderProvider _provider
Definition
ExtendedPropertyDescriptor.cs:9
System.ComponentModel.MemberDescriptor.Attributes
virtual AttributeCollection Attributes
Definition
MemberDescriptor.cs:55
System.ComponentModel.MemberDescriptor.MemberDescriptor
MemberDescriptor(string name)
Definition
MemberDescriptor.cs:95
System.SR.Format
static string Format(string resourceFormat, object p1)
Definition
SR.cs:118
System.SR.MetaExtenderName
static string MetaExtenderName
Definition
SR.cs:106
System.SR
Definition
SR.cs:7
System.ExceptionArgument.text
@ text
System
Definition
BlockingCollection.cs:8
System
ComponentModel
ExtendedPropertyDescriptor
Generated by
1.10.0