Files
Umbraco-CMS/src/Umbraco.Core/IRuntime.cs
2018-11-29 10:35:16 +01:00

28 lines
648 B
C#

using Umbraco.Core.Composing;
namespace Umbraco.Core
{
/// <summary>
/// Defines the Umbraco runtime.
/// </summary>
public interface IRuntime
{
/// <summary>
/// Boots the runtime.
/// </summary>
/// <param name="register">The application register.</param>
/// <returns>The application factory.</returns>
IFactory Boot(IRegister register);
/// <summary>
/// Gets the runtime state.
/// </summary>
IRuntimeState State { get; }
/// <summary>
/// Terminates the runtime.
/// </summary>
void Terminate();
}
}