5 references to ApplyPreparedAsync
aspire (2)
Commands\AddCommand.cs (1)
556
await transaction.
ApplyPreparedAsync
(candidate.TargetFile, candidate.ProposedContent,
Projects\ProjectUpdater.cs (1)
407
await transaction.
ApplyPreparedAsync
(configurationCandidate.TargetFile, configurationCandidate.ProposedContent,
Aspire.Cli.Tests (3)
DotNet\DotNetAppHostUpdateTransactionTests.cs (3)
153
await Assert.ThrowsAnyAsync<Exception>(() => transaction.
ApplyPreparedAsync
(
193
await transaction.
ApplyPreparedAsync
(file, proposed, WriteAsync, TestContext.Current.CancellationToken);
198
transaction.
ApplyPreparedAsync
(file, proposed, WriteAsync, TestContext.Current.CancellationToken));