コード例 #1
0
 public void Clear()
 {
     lock (_lock)
     {
         // Underlying array will call IDispose on remaining items which will cancel timers.
         _pendingMessageData.Clear();
     }
 }
コード例 #2
0
 public void Clear()
 {
     _list.Clear();
 }