Microsoft.Extensions.DeendencyInjection
;MainView
window is the main/shell window of our application;Startup
event is raised by the WPF application the bootstrapper:AssemblyScanner
property of the BootstrapConfiguration
instance, like in the following snippet:IDependenciesInstaller
interface. A class instance will be automatically created at runtime and the Install
method will be invoked:Microsoft.Extensions.DeendencyInjection
is created. In case an instance of the created IServiceProvider
is required outside the scope of the Radical application, it can be retrieved using the following snippet:ShutdownMode
. Application bootstrapper does not change in any way the default value of the Application.Current.ShutdownMode
unless explicitly requested by user:Thread.CurrentPrincipal
, the default behavior is to use the current user Windows identity
. This behavior can be changed by setting a different principal right after the boot process is completed, using the OnBootCompleted
handler;Culture
and the UICulture
of the current Thread
. The default behavior is to use values of the hosting OS. The default behavior can be overwritten in the following way:ApplicationShutdownRequested
message via the message broker.MultipleInstanceNotAllowed
, Radical can handle singleton application for us with minimal effort, take a look at singleton applications.