Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Write<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] T >() [2/4]

unsafe void System.Diagnostics.Tracing.EventSource.Write<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] T > ( string? eventName,
ref EventSourceOptions options,
ref Guid activityId,
ref Guid relatedActivityId,
ref T data )
inlineinherited

Definition at line 2814 of file EventSource.cs.

2815 {
2816 if (!IsEnabled())
2817 {
2818 return;
2819 }
2821 {
2823 {
2824 WriteImpl(eventName, ref options, data, pActivityId, (relatedActivityId == Guid.Empty) ? null : ptr, SimpleEventTypes<T>.Instance);
2825 }
2826 }
2827 }
unsafe void WriteImpl(string eventName, ref EventSourceOptions options, object data, Guid *pActivityId, Guid *pRelatedActivityId, TraceLoggingEventTypes eventTypes)
static readonly Guid Empty
Definition Guid.cs:86

References System.Guid.Empty, System.Diagnostics.Tracing.EventSource.IsEnabled(), System.options, and System.Diagnostics.Tracing.EventSource.WriteImpl().