Esempio n. 1
0
 /// <summary>
 /// Removes all elements from the <see cref="ICnmCache{TKey,TValue}"/>.
 /// </summary>
 /// <seealso cref="ICnmCache{TKey,TValue}.Set"/>
 /// <seealso cref="ICnmCache{TKey,TValue}.Remove"/>
 /// <seealso cref="ICnmCache{TKey,TValue}.RemoveRange"/>
 /// <seealso cref="ICnmCache{TKey,TValue}.TryGetValue"/>
 /// <seealso cref="ICnmCache{TKey,TValue}.PurgeExpired"/>
 public void Clear()
 {
     lock (m_syncRoot)
     {
         m_cache.Clear();
     }
 }
 /// <summary>
 ///     Clear asset cache.
 /// </summary>
 public void Clear()
 {
     m_cache.Clear();
 }