Condividi tramite


ContainerLifetimeAnnotation Class

Definition

Annotation that controls the lifetime of a container resource.

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

Constructors

ContainerLifetimeAnnotation()

Properties

Lifetime

Gets or sets the lifetime type for the container resource.

Applies to