Class PrismApplication
Provides a base class for Prism applications using the Splat dependency injection container.
public abstract class PrismApplication : PrismApplicationBase, INotifyPropertyChanged, IElementController, IApplicationController, IElementConfiguration<Application>
- Inheritance
-
PrismApplication
- Implements
- Inherited Members
- Extension Methods
Remarks
This class integrates the Splat container with the Prism application framework. Inherit from this class to create a Prism application that uses Splat for dependency injection.
Constructors
PrismApplication(IPlatformInitializer?)
Provides a base class for Prism applications using the Splat dependency injection container.
protected PrismApplication(IPlatformInitializer? initializer = null)
Parameters
initializerIPlatformInitializerAn optional platform-specific initializer that can be used to register platform services or perform platform-specific setup. May be null if no platform-specific initialization is required.
Remarks
This class integrates the Splat container with the Prism application framework. Inherit from this class to create a Prism application that uses Splat for dependency injection.
Methods
CreateContainerExtension()
Creates the container used by Prism.
protected override IContainerExtension CreateContainerExtension()
Returns
- IContainerExtension
The container