Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlChoiceIdentifierAttribute.cs
Go to the documentation of this file.
3
5
6[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = false)]
8{
9 private string _name;
10
12
13 public string MemberName
14 {
15 get
16 {
17 if (_name != null)
18 {
19 return _name;
20 }
21 return string.Empty;
22 }
24 set
25 {
26 _name = value;
27 }
28 }
29
31 {
32 get
33 {
34 return _memberInfo;
35 }
36 set
37 {
39 }
40 }
41
43 {
44 }
45
46 public XmlChoiceIdentifierAttribute(string? name)
47 {
48 _name = name;
49 }
50
52 {
53 return MemberInfo;
54 }
55
60}