/// <summary>
        /// Invoked when a dictionary entry has been deleted.
        /// </summary>
        /// <param name="evt">
        /// The <see cref="CacheEventArgs"/> carrying the remove
        /// information.
        /// </param>
        void ICacheListener.EntryDeleted(CacheEventArgs evt)
        {
            CacheEventCallback callback = new CacheEventCallback(OnDeleted);

            control.BeginInvoke(callback, new object[] { evt });
        }
コード例 #2
0
        /// <summary>
        /// Invoked when a dictionary entry has been deleted.
        /// </summary>
        /// <param name="evt">
        /// The <see cref="CacheEventArgs"/> carrying the remove
        /// information.
        /// </param>
        void ICacheListener.EntryDeleted(CacheEventArgs evt)
        {
            var callback = new CacheEventCallback(OnDeleted);

            m_control.Dispatcher.Invoke(DispatcherPriority.Normal, callback, evt);
        }