Public classApplicationStartupAttribute
Using this attribute on a class will cause the CMS to call methods on it at startup. The following methods will be called, if they exist:
/* This handler will be called first, before C1 initialization, and allow you to register services exposed by <see cref="T:Composite.Core.ServiceLocator" />
public void ConfigureServices(<see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> serviceCollection) {}
/* This handler will be called before C1 initialization. The data layer cannot be used here. */
public void OnBeforeInitialize() {}
/* This handler will be called after initialization of C1 core. */
public void OnInitialized() {}