Skip to content

PrismApplication(IPlatformInitializer?) constructor

Defined in

Type: PrismApplication Namespace: Splat.Prism.Forms Assembly: Splat.Prism.Forms.dll

Applies to

net10.0, net9.0, net8.0, net462, net481

protected PrismApplication(IPlatformInitializer? initializer = null)

View source

Summary: Provides a base class for Prism applications using the Splat dependency injection container.

Parameters

NameTypeDescription
initializer = nullIPlatformInitializer?An 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.