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

◆ GetSessions()

List< KeyValuePair< SessionInfo, bool > > System.Diagnostics.Tracing.EventProvider.GetSessions ( )
inlineprivateinherited

Definition at line 287 of file EventProvider.cs.

288 {
291 {
293 }, ref sessionList2);
295 if (m_liveSessions != null)
296 {
297 foreach (SessionInfo liveSession in m_liveSessions)
298 {
299 int index;
300 if ((index = IndexOfSessionInList(sessionList2, liveSession.etwSessionId)) < 0 || sessionList2[index].sessionIdBit != liveSession.sessionIdBit)
301 {
303 }
304 }
305 }
306 if (sessionList2 != null)
307 {
308 foreach (SessionInfo item in sessionList2)
309 {
310 int index2;
311 if ((index2 = IndexOfSessionInList(m_liveSessions, item.etwSessionId)) < 0 || m_liveSessions[index2].sessionIdBit != item.sessionIdBit)
312 {
314 }
315 }
316 }
318 return list;
319 }
void Add(TKey key, TValue value)
static int IndexOfSessionInList(List< SessionInfo > sessions, int etwSessionId)
static void GetSessionInfoCallback(int etwSessionId, long matchAllKeywords, ref List< SessionInfo > sessionList)
unsafe void GetSessionInfo(SessionInfoCallback action, ref List< SessionInfo > sessionList)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Diagnostics.Tracing.EventProvider.GetSessionInfo(), System.Diagnostics.Tracing.EventProvider.GetSessionInfoCallback(), System.index, System.index2, System.Diagnostics.Tracing.EventProvider.IndexOfSessionInList(), System.item, System.list, System.Diagnostics.Tracing.EventProvider.m_liveSessions, and System.value.

Referenced by System.Diagnostics.Tracing.EventProvider.EtwEnableCallBack().