Search Results for

    Show / Hide Table of Contents
    View Source

    Class CoreRuntime

    Defines the Umbraco runtime.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Runtime
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class CoreRuntime : IRuntime

    Constructors

    View Source

    CoreRuntime(ILoggerFactory, IRuntimeState, ComponentCollection, IApplicationShutdownRegistry, IProfilingLogger, IMainDom, IUmbracoDatabaseFactory, IEventAggregator, IHostingEnvironment, IUmbracoVersion)

    Declaration
    public CoreRuntime(ILoggerFactory loggerFactory, IRuntimeState state, ComponentCollection components, IApplicationShutdownRegistry applicationShutdownRegistry, IProfilingLogger profilingLogger, IMainDom mainDom, IUmbracoDatabaseFactory databaseFactory, IEventAggregator eventAggregator, IHostingEnvironment hostingEnvironment, IUmbracoVersion umbracoVersion)
    Parameters
    Type Name Description
    ILoggerFactory loggerFactory
    IRuntimeState state
    ComponentCollection components
    IApplicationShutdownRegistry applicationShutdownRegistry
    IProfilingLogger profilingLogger
    IMainDom mainDom
    IUmbracoDatabaseFactory databaseFactory
    IEventAggregator eventAggregator
    IHostingEnvironment hostingEnvironment
    IUmbracoVersion umbracoVersion
    View Source

    CoreRuntime(ILoggerFactory, IRuntimeState, ComponentCollection, IApplicationShutdownRegistry, IProfilingLogger, IMainDom, IUmbracoDatabaseFactory, IEventAggregator, IHostingEnvironment, IUmbracoVersion, Nullable<IServiceProvider>)

    Declaration
    public CoreRuntime(ILoggerFactory loggerFactory, IRuntimeState state, ComponentCollection components, IApplicationShutdownRegistry applicationShutdownRegistry, IProfilingLogger profilingLogger, IMainDom mainDom, IUmbracoDatabaseFactory databaseFactory, IEventAggregator eventAggregator, IHostingEnvironment hostingEnvironment, IUmbracoVersion umbracoVersion, IServiceProvider? serviceProvider)
    Parameters
    Type Name Description
    ILoggerFactory loggerFactory
    IRuntimeState state
    ComponentCollection components
    IApplicationShutdownRegistry applicationShutdownRegistry
    IProfilingLogger profilingLogger
    IMainDom mainDom
    IUmbracoDatabaseFactory databaseFactory
    IEventAggregator eventAggregator
    IHostingEnvironment hostingEnvironment
    IUmbracoVersion umbracoVersion
    System.Nullable<IServiceProvider> serviceProvider
    View Source

    CoreRuntime(IRuntimeState, ILoggerFactory, ComponentCollection, IApplicationShutdownRegistry, IProfilingLogger, IMainDom, IUmbracoDatabaseFactory, IEventAggregator, IHostingEnvironment, IUmbracoVersion, Nullable<IServiceProvider>, Nullable<IHostApplicationLifetime>)

    Initializes a new instance of the CoreRuntime class.

    Declaration
    public CoreRuntime(IRuntimeState state, ILoggerFactory loggerFactory, ComponentCollection components, IApplicationShutdownRegistry applicationShutdownRegistry, IProfilingLogger profilingLogger, IMainDom mainDom, IUmbracoDatabaseFactory databaseFactory, IEventAggregator eventAggregator, IHostingEnvironment hostingEnvironment, IUmbracoVersion umbracoVersion, IServiceProvider? serviceProvider, IHostApplicationLifetime? hostApplicationLifetime)
    Parameters
    Type Name Description
    IRuntimeState state
    ILoggerFactory loggerFactory
    ComponentCollection components
    IApplicationShutdownRegistry applicationShutdownRegistry
    IProfilingLogger profilingLogger
    IMainDom mainDom
    IUmbracoDatabaseFactory databaseFactory
    IEventAggregator eventAggregator
    IHostingEnvironment hostingEnvironment
    IUmbracoVersion umbracoVersion
    System.Nullable<IServiceProvider> serviceProvider
    System.Nullable<IHostApplicationLifetime> hostApplicationLifetime

    Properties

    View Source

    State

    Gets the state of the Umbraco runtime.

    Declaration
    public IRuntimeState State { get; }
    Property Value
    Type Description
    IRuntimeState

    Methods

    View Source

    RestartAsync()

    Declaration
    public async Task RestartAsync()
    Returns
    Type Description
    Task
    View Source

    StartAsync(CancellationToken)

    Declaration
    public async Task StartAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    View Source

    StopAsync(CancellationToken)

    Declaration
    public async Task StopAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CoreRuntime(ILoggerFactory, IRuntimeState, ComponentCollection, IApplicationShutdownRegistry, IProfilingLogger, IMainDom, IUmbracoDatabaseFactory, IEventAggregator, IHostingEnvironment, IUmbracoVersion)
      • CoreRuntime(ILoggerFactory, IRuntimeState, ComponentCollection, IApplicationShutdownRegistry, IProfilingLogger, IMainDom, IUmbracoDatabaseFactory, IEventAggregator, IHostingEnvironment, IUmbracoVersion, Nullable<IServiceProvider>)
      • CoreRuntime(IRuntimeState, ILoggerFactory, ComponentCollection, IApplicationShutdownRegistry, IProfilingLogger, IMainDom, IUmbracoDatabaseFactory, IEventAggregator, IHostingEnvironment, IUmbracoVersion, Nullable<IServiceProvider>, Nullable<IHostApplicationLifetime>)
    • Properties
      • State
    • Methods
      • RestartAsync()
      • StartAsync(CancellationToken)
      • StopAsync(CancellationToken)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX