Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SoapElementAttribute.cs
Go to the documentation of this file.
2
4
5[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
7{
8 private string _elementName;
9
10 private string _dataType;
11
12 private bool _nullable;
13
14 public string ElementName
15 {
16 get
17 {
18 if (_elementName != null)
19 {
20 return _elementName;
21 }
22 return string.Empty;
23 }
25 set
26 {
28 }
29 }
30
31 public string DataType
32 {
33 get
34 {
35 if (_dataType != null)
36 {
37 return _dataType;
38 }
39 return string.Empty;
40 }
42 set
43 {
45 }
46 }
47
48 public bool IsNullable
49 {
50 get
51 {
52 return _nullable;
53 }
54 set
55 {
57 }
58 }
59
61 {
62 }
63
64 public SoapElementAttribute(string? elementName)
65 {
66 _elementName = elementName;
67 }
68}