共用方式為


MauiContext(IServiceProvider) Constructor

Definition

public:
 MauiContext(IServiceProvider ^ services);
public MauiContext (IServiceProvider services);
new Microsoft.Maui.MauiContext : IServiceProvider -> Microsoft.Maui.MauiContext
Public Sub New (services As IServiceProvider)

Parameters

services
IServiceProvider

Applies to