comparison Implab/Diagnostics/ListenerBase.cs @ 194:d45bdf510514 v2

working on diagnostics
author cin
date Mon, 25 Apr 2016 15:18:56 +0300
parents 240aa6994018
children
comparison
equal deleted inserted replaced
191:cc19dc78edb7 194:d45bdf510514
57 } 57 }
58 } 58 }
59 59
60 public void UnsubscribeAll() { 60 public void UnsubscribeAll() {
61 lock (m_subscriptions) { 61 lock (m_subscriptions) {
62 foreach (var subscription in m_subscriptions.Values) 62 foreach (var remove in m_subscriptions.Values)
63 subscription(); 63 remove();
64 m_subscriptions.Clear(); 64 m_subscriptions.Clear();
65 } 65 }
66 } 66 }
67 67
68 #region ILogWriter implementation 68 #region ILogWriter implementation