ManifestPublishingContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contextual information used for manifest publishing during this execution of the AppHost.
public sealed class ManifestPublishingContext
type ManifestPublishingContext = class
Public NotInheritable Class ManifestPublishingContext
- Inheritance
-
ManifestPublishingContext
Constructors
ManifestPublishingContext(DistributedApplicationExecutionContext, String, Utf8JsonWriter, CancellationToken) |
Contextual information used for manifest publishing during this execution of the AppHost. |
Properties
CancellationToken |
Gets cancellation token for this operation. |
ExecutionContext |
Gets execution context for this invocation of the AppHost. |
ManifestPath |
Gets manifest path specified for this invocation of the AppHost. |
Writer |
Gets JSON writer for writing manifest entries. |
Methods
GetManifestRelativePath(String) |
Generates a relative path based on the location of the manifest path. |
TryAddDependentResources(Object) |
Ensures that any IResource instances referenced by |
WriteBindings(IResource) |
Writes endpoints to the resource entry in the manifest based on the resource's EndpointAnnotation entries in the Annotations collection. |
WriteCommandLineArgumentsAsync(IResource) |
Writes command line arguments to the manifest based on the IResource resource's CommandLineArgsCallbackAnnotation annotations. |
WriteConnectionString(IResource) |
Writes the "connectionString" field for the underlying resource. |
WriteContainerAsync(ContainerResource) |
Writes JSON elements to the manifest which represent a container resource. |
WriteEnvironmentVariablesAsync(IResource) |
Writes environment variables to the manifest base on the IResource resource's EnvironmentCallbackAnnotation annotations."/> |