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