PersistenceAnnotation
Classsealednet10.0
Annotation that controls the persistence behavior of a resource.
namespace Aspire.Hosting.ApplicationModel;
public sealed class PersistenceAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}5 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesParentProcessId get; setint? Gets or sets the parent process ID when
PersistenceAnnotation.Mode is PersistenceMode.ParentProcess . ParentProcessTimestamp get; setDateTime? Gets or sets the parent process identity timestamp when
PersistenceAnnotation.Mode is PersistenceMode.ParentProcess . SourceResource get; set Gets or sets the source resource when
PersistenceAnnotation.Mode is PersistenceMode.Resource .