Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DataContractAttribute.cs
Go to the documentation of this file.
2
3[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)]
4public sealed class DataContractAttribute : Attribute
5{
6 private string _name;
7
8 private string _ns;
9
11
13
14 private bool _isReference;
15
17
18 public bool IsReference
19 {
20 get
21 {
22 return _isReference;
23 }
24 set
25 {
28 }
29 }
30
32
33 public string? Namespace
34 {
35 get
36 {
37 return _ns;
38 }
39 set
40 {
41 _ns = value;
43 }
44 }
45
47
48 public string? Name
49 {
50 get
51 {
52 return _name;
53 }
54 set
55 {
56 _name = value;
58 }
59 }
60
62}