90 eventListener.m_Next = next.
m_Next;
102 EnableEvents(eventSource, level, matchAnyKeyword,
null);
107 if (eventSource ==
null)
120 if (eventSource ==
null)
133 return eventSource.
m_id;
142 eventSourceCreatedEventArgs.EventSource = eventSource;
149 this.EventWritten?.Invoke(
this,
eventData);
177 newEventSource.m_id = num;
214 target.m_Dispatchers = target.m_Dispatchers.m_Next;
227 eventDispatcher.m_Next = next.
m_Next;
252 if (callback ==
null)
262 eventSourceCreatedEventArgs.EventSource = target;
void Add(TKey key, TValue value)
static ? Delegate Remove(Delegate? source, Delegate? value)
static ? Delegate Combine(Delegate? a, Delegate? b)
readonly EventListener m_Listener
virtual void OnEventSourceCreated(EventSource eventSource)
static bool s_CreatingListener
void CallBackForExistingEventSources(bool addToListenersList, EventHandler< EventSourceCreatedEventArgs > callback)
EventHandler< EventSourceCreatedEventArgs > _EventSourceCreated
void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword, IDictionary< string, string?>? arguments)
EventHandler< EventSourceCreatedEventArgs >? EventSourceCreated
virtual void OnEventWritten(EventWrittenEventArgs eventData)
volatile EventListener m_Next
static void AddEventSource(EventSource newEventSource)
static List< WeakReference< EventSource > > s_EventSources
static EventListener s_Listeners
void EnableEvents(EventSource eventSource, EventLevel level)
static object EventListenersLock
void DisableEvents(EventSource eventSource)
EventHandler< EventWrittenEventArgs >? EventWritten
void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword)
static void DisposeOnShutdown()
static void RemoveReferencesToListenerInEventSources(EventListener listenerToRemove)
static int EventSourceIndex(EventSource eventSource)
static readonly EventPipeEventDispatcher Instance
static void SendCommand(EventSource eventSource, EventCommand command, IDictionary< string, string?>? commandArguments)
static readonly NativeRuntimeEventSource Log
static void KeepAlive(object? obj)
static string EventSource_ListenerCreatedInsideCallback
static int CompareExchange(ref int location1, int value, int comparand)