Skip to content
Docs Try Aspire

DockerComposeServiceCustomizationAnnotation Constructors

Class Constructors 1 member
Represents an annotation for customizing a Docker Compose service.
Constructor(Action<DockerComposeServiceResource, Service>) Section titled Constructor(Action<DockerComposeServiceResource, Service>)
Represents an annotation for customizing a Docker Compose service.
public sealed class DockerComposeServiceCustomizationAnnotation
{
public DockerComposeServiceCustomizationAnnotation(
Action<DockerComposeServiceResource, Service> configure)
{
// ...
}
}
configure Action<DockerComposeServiceResource, Service> The configuration action for customizing the Docker Compose service.
Initializes a new instance of the DockerComposeServiceCustomizationAnnotation class.