Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CompressedStack.cs
Go to the documentation of this file.
2
3namespace System.Threading;
4
5public sealed class CompressedStack : ISerializable
6{
8 {
9 }
10
15
16 public static CompressedStack Capture()
17 {
18 return GetCompressedStack();
19 }
20
22 {
23 return this;
24 }
25
27 {
28 return new CompressedStack();
29 }
30
31 public static void Run(CompressedStack compressedStack, ContextCallback callback, object? state)
32 {
33 if (compressedStack == null)
34 {
35 throw new ArgumentNullException("compressedStack");
36 }
37 callback(state);
38 }
39}
static CompressedStack Capture()
static void Run(CompressedStack compressedStack, ContextCallback callback, object? state)
static CompressedStack GetCompressedStack()
void GetObjectData(SerializationInfo info, StreamingContext context)
delegate void ContextCallback(object? state)