Beispiel #1
0
 private void OnCacheInitialize(object sender, CacheEventArgs e)
 {
     IsConnected = true;
 }
Beispiel #2
0
 void RaiseCacheUpdated(FxMessage message)
 {
     var eh = this.CacheInitialized;
     if (eh != null)
     {
         var e = new CacheEventArgs();
         eh(this, e);
     }
 }
 private void CacheManagerOnOnRemove(CacheEventArgs args)
 {
 }
Beispiel #4
0
 /// <summary>
 ///     Handles the Cleared event of the DistributedMemoryManagerCache control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="CacheEventArgs" /> instance containing the event data.</param>
 protected abstract void DistributedMemoryManagerCache_Cleared(object sender, CacheEventArgs e);
 /// <summary>
 /// Invoked when a cache entry has been deleted.
 /// </summary>
 /// <param name="evt">
 /// The <see cref="CacheEventArgs"/> carrying the remove
 /// information.
 /// </param>
 public void EntryDeleted(CacheEventArgs evt)
 {
     OnCacheEvent(evt);
 }
 /// <summary>
 /// Invoked when a cache entry has been updated.
 /// </summary>
 /// <param name="evt">
 /// The <see cref="CacheEventArgs"/> carrying the update
 /// information.
 /// </param>
 public void EntryUpdated(CacheEventArgs evt)
 {
     OnCacheEvent(evt);
 }
 /// <summary>
 /// Invoked when a cache entry has been inserted.
 /// </summary>
 /// <param name="evt">
 /// The <see cref="CacheEventArgs"/> carrying the insert
 /// information.
 /// </param>
 public void EntryInserted(CacheEventArgs evt)
 {
     OnCacheEvent(evt);
 }
 /// <summary>
 /// Invoked when a cache entry has been inserted, updated or
 /// deleted.
 /// </summary>
 /// <remarks>
 ///  To determine what action has occurred, use
 /// <see cref="CacheEventArgs.EventType"/> property.
 /// </remarks>
 /// <param name="evt">
 /// The <see cref="CacheEventArgs"/> carrying the insert, update or
 /// delete information.
 /// </param>
 protected abstract void OnCacheEvent(CacheEventArgs evt);