2 writes to Persistent
Aspire.Hosting (2)
Dcp\ExecutableCreator.cs (2)
274
spec.
Persistent
= null;
283
spec.
Persistent
= true;
8 references to Persistent
Aspire.Hosting (1)
Dcp\Model\Executable.cs (1)
72
/// When set, <see cref="MonitorTimestamp"/> must also be set and <see cref="
Persistent
"/> must be true.
Aspire.Hosting.Tests (7)
Dcp\DcpExecutorTests.cs (6)
4738
Assert.True(exe.Spec.
Persistent
.GetValueOrDefault());
5129
Assert.True(exe.Spec.
Persistent
.GetValueOrDefault());
5283
Assert.True(exe.Spec.
Persistent
.GetValueOrDefault());
7721
Assert.True(exe.Spec.
Persistent
);
7963
Assert.True(exe.Spec.
Persistent
);
9244
Assert.True(executable.Spec.
Persistent
);
DistributedApplicationTests.cs (1)
2064
Assert.True(dcpExecutable.Spec.
Persistent
.GetValueOrDefault());