Share via


MauiMacCatalystPlatformResource(String, MauiProjectResource) Constructor

Definition

Represents a Mac Catalyst platform instance of a .NET MAUI project.

public MauiMacCatalystPlatformResource(string name, Aspire.Hosting.Maui.MauiProjectResource parent);
new Aspire.Hosting.Maui.MauiMacCatalystPlatformResource : string * Aspire.Hosting.Maui.MauiProjectResource -> Aspire.Hosting.Maui.MauiMacCatalystPlatformResource
Public Sub New (name As String, parent As MauiProjectResource)

Parameters

name
String

The name of the resource.

parent
MauiProjectResource

The parent MAUI project resource.

Remarks

This resource represents a MAUI application running on the Mac Catalyst platform. The actual build and deployment happens when the resource is started, allowing for incremental builds during development without blocking AppHost startup.

Use AddMacCatalystDevice(IResourceBuilder<MauiProjectResource>, String) to add this resource to a MAUI project.

Applies to