Skip to content

PrismApplication(IPlatformInitializer?) constructor

Defined in

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

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481, net471

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.