Converted over other IApplicationEventHandlers to use the simpler ApplicationEventHandler

This commit is contained in:
Shannon Deminick
2013-02-02 02:43:02 +06:00
parent e541995e01
commit a66d651c07
4 changed files with 6 additions and 23 deletions

View File

@@ -22,9 +22,9 @@ namespace Umbraco.Web
/// <remarks>
/// This would be better left internal, however
/// </remarks>
public sealed class CacheHelperApplicationEventListener : IApplicationEventHandler
public sealed class CacheHelperApplicationEventListener : ApplicationEventHandler
{
public void OnApplicationInitialized(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
protected override void ApplicationInitialized(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
if (applicationContext != null)
{
@@ -44,13 +44,6 @@ namespace Umbraco.Web
}
}
public void OnApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
}
public void OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
}
}
public const string PartialViewCacheKey = "Umbraco.Web.PartialViewCacheKey";