Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Category

string System.ComponentModel.CategoryAttribute.Category
get

Definition at line 70 of file CategoryAttribute.cs.

71 {
72 get
73 {
74 if (!_localized)
75 {
76 lock (_locker)
77 {
78 string localizedString = GetLocalizedString(_categoryValue);
79 if (localizedString != null)
80 {
81 _categoryValue = localizedString;
82 }
83 _localized = true;
84 }
85 }
86 return _categoryValue;
87 }
88 }
virtual ? string GetLocalizedString(string value)

Referenced by System.ComponentModel.CategoryAttribute.Equals(), System.ComponentModel.CategoryAttribute.GetHashCode(), and System.ComponentModel.CategoryAttribute.IsDefaultAttribute().