Starts the XafApplication‘s initialization. Initialization occurs at runtime.
The Visual Studio .NET design-time environment calls this method to start initializing the application. The XafApplication.EndInit method ends the initialization. Use the BeginInit and EndInit methods to prevent the application from being used until it has been completely initialized.