Пример #1
0
 /// <summary>
 /// Fires the after document cache unpublish.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="umbraco.cms.businesslogic.DocumentCacheEventArgs"/> instance containing the event data.</param>
 protected virtual void FireAfterClearDocumentCache(Document sender, cms.businesslogic.DocumentCacheEventArgs e)
 {
     if (AfterClearDocumentCache != null)
     {
         AfterClearDocumentCache(sender, e);
     }
 }
Пример #2
0
 /// <summary>
 /// Fires the before document cache.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="umbraco.cms.businesslogic.DocumentCacheEventArgs"/> instance containing the event data.</param>
 protected virtual void FireBeforeUpdateDocumentCache(Document sender, cms.businesslogic.DocumentCacheEventArgs e)
 {
     if (BeforeUpdateDocumentCache != null)
     {
         BeforeUpdateDocumentCache(sender, e);
     }
 }