MauiMacCatalystPlatformResource(String, MauiProjectResource) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.