RIP IApplicationEventHandler

This commit is contained in:
Stephan
2016-09-08 18:43:58 +02:00
parent 9fb9472193
commit 091816a2ea
49 changed files with 1499 additions and 2008 deletions

View File

@@ -6,6 +6,8 @@ using Umbraco.Core.Persistence.UnitOfWork;
using Umbraco.Core.Services;
using Umbraco.Core.Strings;
using Umbraco.Core.DependencyInjection;
using Umbraco.Web.HealthCheck;
using Umbraco.Web.HealthCheck.Checks.DataIntegrity;
namespace Umbraco.Web.PublishedCache.XmlPublishedCache
{
@@ -24,6 +26,10 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
factory.GetAllInstances<IUrlSegmentProvider>(),
factory.GetInstance<IFacadeAccessor>(),
factory.GetInstance<MainDom>()));
// add the Xml cache health check (hidden from type finder)
var builder = container.GetInstance<HealthCheckCollectionBuilder>();
builder.Exclude<XmlDataIntegrityHealthCheck>();
}
public void Initialize(IFacadeService service)