Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
StrongBox.cs
Go to the documentation of this file.
1
using
System.Diagnostics.CodeAnalysis
;
2
3
namespace
System.Runtime.CompilerServices
;
4
5
public
class
StrongBox
<T> :
IStrongBox
6
{
7
[MaybeNull]
8
public
T
Value
;
9
10
object
? IStrongBox.Value
11
{
12
get
13
{
14
return
Value
;
15
}
16
set
17
{
18
Value
= (
T
)
value
;
19
}
20
}
21
22
public
StrongBox
()
23
{
24
}
25
26
public
StrongBox
(T
value
)
27
{
28
Value
=
value
;
29
}
30
}
System.Runtime.CompilerServices.StrongBox.StrongBox
StrongBox(T value)
Definition
StrongBox.cs:26
System.Runtime.CompilerServices.StrongBox.Value
T Value
Definition
StrongBox.cs:8
System.Runtime.CompilerServices.StrongBox.StrongBox
StrongBox()
Definition
StrongBox.cs:22
System.Runtime.CompilerServices.StrongBox
Definition
StrongBox.cs:6
System.Runtime.CompilerServices.IStrongBox
Definition
IStrongBox.cs:4
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.ExceptionArgument.value
@ value
System.ConsoleKey.T
@ T
source
System.Private.CoreLib
System.Runtime.CompilerServices
StrongBox.cs
Generated by
1.10.0