2019-03-11 13:14:32 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Web.Http;
|
2019-03-04 17:26:31 +01:00
|
|
|
|
using Umbraco.Core.Composing;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Runtime
|
|
|
|
|
|
{
|
|
|
|
|
|
public class WebFinalComponent : IComponent
|
|
|
|
|
|
{
|
2019-03-11 13:14:32 +01:00
|
|
|
|
|
2019-08-08 08:56:08 +01:00
|
|
|
|
public WebFinalComponent()
|
2019-03-11 13:14:32 +01:00
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2019-03-04 17:26:31 +01:00
|
|
|
|
public void Initialize()
|
|
|
|
|
|
{
|
|
|
|
|
|
// ensure WebAPI is initialized, after everything
|
|
|
|
|
|
GlobalConfiguration.Configuration.EnsureInitialized();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Terminate()
|
|
|
|
|
|
{ }
|
2019-03-11 13:14:32 +01:00
|
|
|
|
|
2019-03-04 17:26:31 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|