Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TraceEventCache.cs
Go to the documentation of this file.
3
4namespace System.Diagnostics;
5
6public class TraceEventCache
7{
8 private long _timeStamp = -1L;
9
11
12 private string _stackTrace;
13
15 {
16 get
17 {
19 {
21 }
22 return _dateTime;
23 }
24 }
25
27
29
30 public long Timestamp
31 {
32 get
33 {
34 if (_timeStamp == -1)
35 {
37 }
38 return _timeStamp;
39 }
40 }
41
42 public string Callstack
43 {
44 get
45 {
46 if (_stackTrace == null)
47 {
49 }
50 return _stackTrace;
51 }
52 }
53
54 public Stack LogicalOperationStack => Trace.CorrelationManager.LogicalOperationStack;
55}
static CorrelationManager CorrelationManager
Definition Trace.cs:8
static string StackTrace
static int CurrentManagedThreadId
static int ProcessId
static CultureInfo InvariantCulture
static readonly DateTime MinValue
Definition DateTime.cs:35
static unsafe DateTime UtcNow
Definition DateTime.cs:142