ManifestPublishingContext Constructor

Definition

Contextual information used for manifest publishing during this execution of the AppHost.

public ManifestPublishingContext (Aspire.Hosting.DistributedApplicationExecutionContext executionContext, string manifestPath, System.Text.Json.Utf8JsonWriter writer, System.Threading.CancellationToken cancellationToken = default);
new Aspire.Hosting.Publishing.ManifestPublishingContext : Aspire.Hosting.DistributedApplicationExecutionContext * string * System.Text.Json.Utf8JsonWriter * System.Threading.CancellationToken -> Aspire.Hosting.Publishing.ManifestPublishingContext
Public Sub New (executionContext As DistributedApplicationExecutionContext, manifestPath As String, writer As Utf8JsonWriter, Optional cancellationToken As CancellationToken = Nothing)

Parameters

executionContext
DistributedApplicationExecutionContext

Global contextual information for this invocation of the AppHost.

manifestPath
String

Manifest path passed in for this invocation of the AppHost.

writer
Utf8JsonWriter

JSON writer used to writing the manifest.

cancellationToken
CancellationToken

Cancellation token for this operation.

Applies to