Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
NameValuePair.cs
Go to the documentation of this file.
1
namespace
System.Data.Common
;
2
3
internal
sealed
class
NameValuePair
4
{
5
private
readonly
string
_name
;
6
7
private
readonly
string
_value
;
8
9
private
readonly
int
_length
;
10
11
private
NameValuePair
_next
;
12
13
internal
string
Name
=>
_name
;
14
15
internal
string
Value
=>
_value
;
16
17
internal
NameValuePair
Next
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
;
37
_length
=
length
;
38
}
39
}
System.Data.Common.ADP.InternalError
static Exception InternalError(InternalErrorCode internalError)
Definition
ADP.cs:917
System.Data.Common.ADP.InternalErrorCode
InternalErrorCode
Definition
ADP.cs:17
System.Data.Common.ADP
Definition
ADP.cs:15
System.Data.Common.NameValuePair.Name
string Name
Definition
NameValuePair.cs:13
System.Data.Common.NameValuePair.NameValuePair
NameValuePair(string name, string value, int length)
Definition
NameValuePair.cs:33
System.Data.Common.NameValuePair._value
readonly string _value
Definition
NameValuePair.cs:7
System.Data.Common.NameValuePair.Next
NameValuePair Next
Definition
NameValuePair.cs:18
System.Data.Common.NameValuePair._name
readonly string _name
Definition
NameValuePair.cs:5
System.Data.Common.NameValuePair._next
NameValuePair _next
Definition
NameValuePair.cs:11
System.Data.Common.NameValuePair._length
readonly int _length
Definition
NameValuePair.cs:9
System.Data.Common.NameValuePair.Value
string Value
Definition
NameValuePair.cs:15
System.Data.Common.NameValuePair
Definition
NameValuePair.cs:4
System.Data.Common
Definition
ADP.cs:12
System.ExceptionArgument.value
@ value
System.ExceptionArgument.length
@ length
source
System.Data.Common
System.Data.Common
NameValuePair.cs
Generated by
1.10.0