2 writes to Persistent
Aspire.Hosting (1)
Dcp\ContainerCreator.cs (1)
98ctr.Spec.Persistent = true;
Aspire.Hosting.Tests (1)
Dcp\ResourceSnapshotBuilderTests.cs (1)
26container.Spec.Persistent = true;
5 references to Persistent
Aspire.Hosting (1)
Dcp\ResourceSnapshotBuilder.cs (1)
94return (container.Spec.Persistent ?? false) ? ContainerLifetime.Persistent : ContainerLifetime.Session;
Aspire.Hosting.Tests (4)
Dcp\DcpExecutorTests.cs (3)
5838Assert.True(container.Spec.Persistent.GetValueOrDefault()); 5991Assert.True(container.Spec.Persistent.GetValueOrDefault()); 10074Assert.True(container.Spec.Persistent);
DistributedApplicationTests.cs (1)
2066Assert.True(dcpContainer.Spec.Persistent.GetValueOrDefault());