C# Class UmbracoFlare.App_Start.SetCloudflareHooks

Inheritance: Umbraco.Core.ApplicationEventHandler
Mostra file Open project: scyllagroup/UmbracoFlare

Public Methods

Method Description
SetCloudflareHooks ( ) : System

Protected Methods

Method Description
ApplicationStarting ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void
PurgeCloudflareCache ( IPublishingStrategy strategy, PublishEventArgs e ) : void
PurgeCloudflareCacheForMedia ( IMediaService sender, SaveEventArgs e ) : void
RefreshImageCropsCache ( IDataTypeService sender, SaveEventArgs e ) : void
UpdateContentIdToUrlCache ( IPublishingStrategy strategy, PublishEventArgs e ) : void

Private Methods

Method Description
AddPurgeCacheForContentMenu ( Umbraco.Web.Trees.TreeControllerBase sender, Umbraco.Web.Trees.MenuRenderingEventArgs args ) : void

Method Details

ApplicationStarting() protected method

protected ApplicationStarting ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void
umbracoApplication Umbraco.Core.UmbracoApplicationBase
applicationContext Umbraco.Core.ApplicationContext
return void

PurgeCloudflareCache() protected method

protected PurgeCloudflareCache ( IPublishingStrategy strategy, PublishEventArgs e ) : void
strategy IPublishingStrategy
e PublishEventArgs
return void

PurgeCloudflareCacheForMedia() protected method

protected PurgeCloudflareCacheForMedia ( IMediaService sender, SaveEventArgs e ) : void
sender IMediaService
e SaveEventArgs
return void

RefreshImageCropsCache() protected method

protected RefreshImageCropsCache ( IDataTypeService sender, SaveEventArgs e ) : void
sender IDataTypeService
e SaveEventArgs
return void

SetCloudflareHooks() public method

public SetCloudflareHooks ( ) : System
return System

UpdateContentIdToUrlCache() protected method

protected UpdateContentIdToUrlCache ( IPublishingStrategy strategy, PublishEventArgs e ) : void
strategy IPublishingStrategy
e PublishEventArgs
return void