Skip to content
Docs Try Aspire

ManifestPublishingContext Constructors

Class Constructors 1 member
Contextual information used for manifest publishing during this execution of the AppHost.
Constructor(DistributedApplicationExecutionContext, string, Utf8JsonWriter, CancellationToken) Section titled Constructor(DistributedApplicationExecutionContext, string, Utf8JsonWriter, CancellationToken)
Contextual information used for manifest publishing during this execution of the AppHost.
public sealed class ManifestPublishingContext
{
public ManifestPublishingContext(
DistributedApplicationExecutionContext executionContext,
string manifestPath,
Utf8JsonWriter writer,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
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 optional Cancellation token for this operation.