ApplicationEvents.Initialized

https://docs.kentico.com/k10/custom-development/creating-custom-modules/initializing-modules-to-run-custom-code

http://devnet.kentico.com/docs/12_0/api/html/F_CMS_Base_ApplicationEvents_Initialized.htm

Occurs after the application finishes initialization.

             When this event occurs, the database connection is available and all modules are initialized.

Fires only once during the application lifetime. Handlers need to be attached in the PreInit or Init of modules.         

http://devnet.kentico.com/docs/12_0/api/html/F_CMS_Base_ApplicationEvents_PreInitialized.htm

Occurs after the application pre-initialization.

Fires only once during the application lifetime. Handlers need to be attached in the PreInit of modules.

   

猜你喜欢

转载自www.cnblogs.com/chucklu/p/12703766.html