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

◆ RemoveEventListener()

void System.Diagnostics.Tracing.EventPipeEventDispatcher.RemoveEventListener ( EventListener listener)
inlinepackage

Definition at line 69 of file EventPipeEventDispatcher.cs.

70 {
72 {
73 if (m_subscriptions.ContainsKey(listener))
74 {
75 m_subscriptions.Remove(listener);
76 }
78 }
79 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
readonly Dictionary< EventListener, EventListenerSubscription > m_subscriptions

References System.Diagnostics.Tracing.EventPipeEventDispatcher.CommitDispatchConfiguration(), System.Collections.Generic.Dictionary< TKey, TValue >.ContainsKey(), System.Diagnostics.Tracing.EventPipeEventDispatcher.m_dispatchControlLock, System.Diagnostics.Tracing.EventPipeEventDispatcher.m_subscriptions, and System.Collections.Generic.Dictionary< TKey, TValue >.Remove().

Referenced by System.Diagnostics.Tracing.EventPipeEventDispatcher.SendCommand().