共用方式為


DistributedApplication(IHost) Constructor

Definition

Initializes a new instance of the DistributedApplication class.

public DistributedApplication (Microsoft.Extensions.Hosting.IHost host);
new Aspire.Hosting.DistributedApplication : Microsoft.Extensions.Hosting.IHost -> Aspire.Hosting.DistributedApplication
Public Sub New (host As IHost)

Parameters

host
IHost

The IHost instance.

Applies to