C# Class Simple301.Core.MyApplication

Inheritance: Umbraco.Core.ApplicationEventHandler
Afficher le fichier Open project: wkallhof/Simple301

Méthodes protégées

Méthode Description
ApplicationStarted ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void

On Application Started we need to ensure that the Redirects table exists. If not, create it

ApplicationStarting ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void

On application starting we inject the Redirect Content Finder into the very first slot of Umbraco's Content Resolver pipeline

Private Methods

Méthode Description
HandleMigrations ( ) : void

Method Details

ApplicationStarted() protected méthode

On Application Started we need to ensure that the Redirects table exists. If not, create it
protected ApplicationStarted ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void
umbracoApplication Umbraco.Core.UmbracoApplicationBase
applicationContext Umbraco.Core.ApplicationContext
Résultat void

ApplicationStarting() protected méthode

On application starting we inject the Redirect Content Finder into the very first slot of Umbraco's Content Resolver pipeline
protected ApplicationStarting ( Umbraco.Core.UmbracoApplicationBase umbracoApplication, Umbraco.Core.ApplicationContext applicationContext ) : void
umbracoApplication Umbraco.Core.UmbracoApplicationBase
applicationContext Umbraco.Core.ApplicationContext
Résultat void