Ejemplo n.º 1
0
 /// <summary>
 ///  Occurs when some object cached (called by Managers.Cache)
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="args"> An Managers.CacheEventArgs that contains cache event data.</param>
 public void RaiseCached(object sender, Managers.CacheEventArgs args)
 {
     if (Cached != null)
     {
         Cached(sender, args);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Handle when object cached by CacheSpawner
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 protected virtual void Events_Cached(object sender, Managers.CacheEventArgs args)
 {
     ResetValues();
 }