Show / Hide Table of Contents

Class ApplicationBootstrapper

Bootstrapper implementation for a WPF application.

Inheritance
System.Object
MefBootstrapper
ApplicationBootstrapper
MefBootstrapper.ServiceFactory
MefBootstrapper.RegisterDefaultTypesIfMissing()
MefBootstrapper.Run()
MefBootstrapper.Run(Boolean)
MefBootstrapper.CompositionCompleted
MefBootstrapper.AggregateCatalog
MefBootstrapper.Container
MefBootstrapper.ModuleCatalog
MefBootstrapper.ConfigureAggregateCatalog()
MefBootstrapper.ConfigureContainer()
MefBootstrapper.ConfigureDefaultRegionBehaviors()
MefBootstrapper.ConfigureModuleCatalog()
MefBootstrapper.ConfigureServiceLocator()
MefBootstrapper.CreateServiceFactory()
MefBootstrapper.InitializeModules()
MefBootstrapper.RegisterFrameworkExceptionTypes()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation
Assembly: Sartorius.SAF.Presentation.Application.dll
Syntax
public class ApplicationBootstrapper : MefBootstrapper

Constructors

View Source

ApplicationBootstrapper(IConfigurationRoot)

Initializes a new instance of the ApplicationBootstrapper class.

Declaration
public ApplicationBootstrapper(IConfigurationRoot configurationRoot)
Parameters
Type Name Description
Microsoft.Extensions.Configuration.IConfigurationRoot configurationRoot
View Source

ApplicationBootstrapper(Boolean, IConfigurationRoot)

Initializes a new instance of the ApplicationBootstrapper class.

Declaration
public ApplicationBootstrapper(bool useLoginDialog, IConfigurationRoot configurationRoot)
Parameters
Type Name Description
System.Boolean useLoginDialog

Indicates whether to use the login dialog.

Microsoft.Extensions.Configuration.IConfigurationRoot configurationRoot

The configuration root object

Properties

View Source

CloseSplashScreen

A action for closing a splash screen.

Declaration
public Action CloseSplashScreen { get; set; }
Property Value
Type Description
System.Action
View Source

ExceptionHandlingFacade

Gets or sets the IExceptionHandlingFacade for the application.

Declaration
protected IExceptionHandlingFacade ExceptionHandlingFacade { get; set; }
Property Value
Type Description
IExceptionHandlingFacade
View Source

LockConfiguration

Gets or sets the configuration for the applications lock mechanism.

Declaration
public LockConfiguration LockConfiguration { get; }
Property Value
Type Description
LockConfiguration
View Source

ProgressNotification

Gets or sets the IProgressNotification.

Declaration
public IProgressNotification ProgressNotification { get; set; }
Property Value
Type Description
IProgressNotification
View Source

ProgressNotificationArgs

Parent initialization of progress arguments.

Declaration
public ProgressNotificationArgs ProgressNotificationArgs { get; set; }
Property Value
Type Description
ProgressNotificationArgs
View Source

ProgressNotify

Action for notify about progress changes.

Declaration
public Action<ProgressNotificationArgs> ProgressNotify { get; set; }
Property Value
Type Description
System.Action<ProgressNotificationArgs>

Methods

View Source

ConfigureRegionAdapterMappings()

Configures the region adapter mappings. Using by notify initialization progress : step 4 Configure Regions

Declaration
protected override RegionAdapterMappings ConfigureRegionAdapterMappings()
Returns
Type Description
RegionAdapterMappings

The instance containing the mappings.

Overrides
MefBootstrapper.ConfigureRegionAdapterMappings()
View Source

CreateAggregateCatalog()

Using by notify initialization progress : step 2 Create Catalogs

Declaration
protected override AggregateCatalog CreateAggregateCatalog()
Returns
Type Description
System.ComponentModel.Composition.Hosting.AggregateCatalog
Overrides
MefBootstrapper.CreateAggregateCatalog()
View Source

CreateApplicationController()

Creates the controller for this application.

Declaration
protected virtual IApplicationController CreateApplicationController()
Returns
Type Description
IApplicationController

The application controller.

View Source

CreateContainer()

Using by notify initialization progress : step 3 Create Container

Declaration
protected override CompositionContainer CreateContainer()
Returns
Type Description
System.ComponentModel.Composition.Hosting.CompositionContainer
Overrides
MefBootstrapper.CreateContainer()
View Source

CreateExceptionHandlingFacade()

Creates the IExceptionHandlingFacade of the application. CloseSplashScreen

Declaration
public virtual IExceptionHandlingFacade CreateExceptionHandlingFacade()
Returns
Type Description
IExceptionHandlingFacade

The ExceptionHandlingFacade.

View Source

CreateModuleCatalog()

Using by notify initialization progress : step 1 Create Modules

Declaration
protected override IModuleCatalog CreateModuleCatalog()
Returns
Type Description
IModuleCatalog
Overrides
MefBootstrapper.CreateModuleCatalog()
View Source

CreateUserInformation()

Creates container with information about the current user.

Declaration
[Obsolete("Use the new IAuthenticationProvider API")]
protected virtual CurrentUser CreateUserInformation()
Returns
Type Description
CurrentUser
View Source

InitializeApplication()

Initialize and start the application.

Declaration
protected override void InitializeApplication()
Overrides
MefBootstrapper.InitializeApplication()
View Source

RegisterBootstrapperProvidedTypes()

Registers all the types necessary for the SAF to work.

Declaration
protected override void RegisterBootstrapperProvidedTypes()
Overrides
MefBootstrapper.RegisterBootstrapperProvidedTypes()
View Source

RestoreSkinSettings()

Restores the skin settings.

Declaration
protected virtual void RestoreSkinSettings()
View Source

RestoreUISettings()

Restores the saved UI settings.

Declaration
protected virtual void RestoreUISettings()

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX