Share via


DeployingContext Constructor

Definition

Provides contextual information and services for the deploying process of a distributed application.

public DeployingContext(Aspire.Hosting.ApplicationModel.DistributedApplicationModel model, Aspire.Hosting.DistributedApplicationExecutionContext executionContext, IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILogger logger, System.Threading.CancellationToken cancellationToken, string outputPath);
new Aspire.Hosting.ApplicationModel.DeployingContext : Aspire.Hosting.ApplicationModel.DistributedApplicationModel * Aspire.Hosting.DistributedApplicationExecutionContext * IServiceProvider * Microsoft.Extensions.Logging.ILogger * System.Threading.CancellationToken * string -> Aspire.Hosting.ApplicationModel.DeployingContext
Public Sub New (model As DistributedApplicationModel, executionContext As DistributedApplicationExecutionContext, serviceProvider As IServiceProvider, logger As ILogger, cancellationToken As CancellationToken, outputPath As String)

Parameters

model
DistributedApplicationModel

The distributed application model to be deployed.

executionContext
DistributedApplicationExecutionContext

The execution context for the distributed application.

serviceProvider
IServiceProvider

The service provider for dependency resolution.

logger
ILogger

The logger for deploying operations.

cancellationToken
CancellationToken

The cancellation token for the deploying operation.

outputPath
String

The output path for deployment artifacts.

Applies to