Esempio n. 1
0
        /*
         * This object has changed, so fire the OnChanged event.
         * We only allow this event to be fired once.
         */
        void OnChanged(Object sender, EventArgs e)
        {
            if (SetBit(CHANGED))
            {
                CacheEntry entry = _entryNotify;
                if (entry != null && (_bits & DISPOSED) == 0)
                {
                    entry.OnChanged(sender, e);
                }

                if ((_bits & READY) != 0)
                {
                    DisposeInternal();
                }
            }
        }