Skip to content
DocsTry Aspire
DocsTry

ManifestPublishingContext Constructors

ClassConstructors1 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))
{
// ...
}
}
executionContextDistributedApplicationExecutionContextGlobal contextual information for this invocation of the AppHost.
manifestPathstringManifest path passed in for this invocation of the AppHost.
writerUtf8JsonWriterJSON writer used to writing the manifest.
cancellationTokenCancellationTokenoptionalCancellation token for this operation.