ContainerFilesSourceAnnotation Class

Definition

Represents an annotation that associates a container file/directory with a resource.

public sealed class ContainerFilesSourceAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ContainerFilesSourceAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class ContainerFilesSourceAnnotation
Implements IResourceAnnotation
Inheritance
ContainerFilesSourceAnnotation
Implements

Remarks

This annotation is typically used in scenarios where assets, such as images or static files, need to be copied from one container image to another during the build process.

This annotation is applied to the source resource that produces the files.

Constructors

ContainerFilesSourceAnnotation()

Properties

SourcePath

Gets the file system path to the source file or directory inside the container.

Applies to