Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
AsyncLocalValueChangedArgs.cs
Go to the documentation of this file.
1namespace System.Threading;
2
3public readonly struct AsyncLocalValueChangedArgs<T>
4{
5 public T? PreviousValue { get; }
6
7 public T? CurrentValue { get; }
8
9 public bool ThreadContextChanged { get; }
10
11 internal AsyncLocalValueChangedArgs(T previousValue, T currentValue, bool contextChanged)
12 {
13 PreviousValue = previousValue;
14 CurrentValue = currentValue;
15 ThreadContextChanged = contextChanged;
16 }
17}
AsyncLocalValueChangedArgs(T previousValue, T currentValue, bool contextChanged)