Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
NameValuePair.cs
Go to the documentation of this file.
1namespace System.Data.Common;
2
3internal sealed class NameValuePair
4{
5 private readonly string _name;
6
7 private readonly string _value;
8
9 private readonly int _length;
10
12
13 internal string Name => _name;
14
15 internal string Value => _value;
16
18 {
19 get
20 {
21 return _next;
22 }
23 set
24 {
25 if (_next != null || value == null)
26 {
27 throw ADP.InternalError(ADP.InternalErrorCode.NameValuePairNext);
28 }
29 _next = value;
30 }
31 }
32
33 internal NameValuePair(string name, string value, int length)
34 {
35 _name = name;
36 _value = value;
38 }
39}
static Exception InternalError(InternalErrorCode internalError)
Definition ADP.cs:917
NameValuePair(string name, string value, int length)