Skip to content
DocsTry Aspire
DocsTry

DockerComposeServiceCustomizationAnnotation Constructors

ClassConstructors1 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)
{
// ...
}
}
configureAction<DockerComposeServiceResource, Service>The configuration action for customizing the Docker Compose service.
Initializes a new instance of the DockerComposeServiceCustomizationAnnotation class.