Files
Umbraco-CMS/src/Umbraco.Web/IApplicationEventHandler.cs
Shannon Deminick c0b5525dd7 Removed 'Boot' method from WebBootManager as it was never supposed to be there in the first place.
Removed test code from 'SurfaceController'.
Added comments to IApplicationEventHandler.
2013-01-18 02:31:51 +03:00

33 lines
1.4 KiB
C#

using Umbraco.Core;
using umbraco.interfaces;
namespace Umbraco.Web
{
/// <summary>
/// Custom IApplicationStartupHandler that auto subscribes to the applications events
/// </summary>
public interface IApplicationEventHandler : IApplicationStartupHandler
{
/// <summary>
/// ApplicationContext is created and other static objects that require initialization have been setup
/// </summary>
/// <param name="httpApplication"></param>
/// <param name="applicationContext"></param>
void OnApplicationInitialized(UmbracoApplication httpApplication, ApplicationContext applicationContext);
/// <summary>
/// All resolvers have been initialized but resolution is not frozen so they can be modified in this method
/// </summary>
/// <param name="httpApplication"></param>
/// <param name="applicationContext"></param>
void OnApplicationStarting(UmbracoApplication httpApplication, ApplicationContext applicationContext);
/// <summary>
/// Bootup is completed, this allows you to perform any other bootup logic required for the application.
/// Resolution is frozen so now they can be used to resolve instances.
/// </summary>
/// <param name="httpApplication"></param>
/// <param name="applicationContext"></param>
void OnApplicationStarted(UmbracoApplication httpApplication, ApplicationContext applicationContext);
}
}