Beispiel #1
0
 //This method is called from native code.  If you update the signature, please also update
 //mscorlib.h and COMUtilNative.cpp
 internal static void FireCacheEvent()
 {
     BCLDebug.Trace("CACHE", "Called FileCacheEvent");
     if (m_cacheHandler != null)
     {
         m_cacheHandler(null, null);
         m_cacheHandler = null;
     }
 }
Beispiel #2
0
        internal static void FireCacheEvent()
        {
            ClearCacheHandler handler = Interlocked.Exchange <ClearCacheHandler>(ref m_cacheHandler, null);

            if (handler != null)
            {
                handler(null, null);
            }
        }
Beispiel #3
0
        //This method is called from native code.  If you update the signature, please also update
        //mscorlib.h and COMUtilNative.cpp
        internal static void FireCacheEvent()
        {
            BCLDebug.Trace("CACHE", "Called FileCacheEvent");
            ClearCacheHandler handler = Interlocked.Exchange <ClearCacheHandler>(ref m_cacheHandler, null);

            if (handler != null)
            {
                handler(null, null);
            }
        }
Beispiel #4
0
 //This method is called from native code.  If you update the signature, please also update
 //mscorlib.h and COMUtilNative.cpp
 internal static void FireCacheEvent() {
     BCLDebug.Trace("CACHE", "Called FileCacheEvent");
     if (m_cacheHandler!=null) {
         m_cacheHandler(null, null);
         m_cacheHandler = null;
     }
 }