共用方式為


DistributedApplicationFactory.OnBuilding Method

Definition

Called when the application is being built.

protected virtual void OnBuilding (Aspire.Hosting.DistributedApplicationBuilder applicationBuilder);
abstract member OnBuilding : Aspire.Hosting.DistributedApplicationBuilder -> unit
override this.OnBuilding : Aspire.Hosting.DistributedApplicationBuilder -> unit
Protected Overridable Sub OnBuilding (applicationBuilder As DistributedApplicationBuilder)

Parameters

applicationBuilder
DistributedApplicationBuilder

The application builder.

Applies to