6 instantiations of BackchannelLogEntry
Aspire.Cli.Tests (6)
Commands\RunCommandTests.cs (6)
2591yield return new BackchannelLogEntry 4472new() 4480new() 4488new() 4980return new BackchannelLogEntry 5020yield return new BackchannelLogEntry
33 references to BackchannelLogEntry
aspire (11)
Backchannel\AppHostCliBackchannel.cs (4)
20IAsyncEnumerable<BackchannelLogEntry> GetAppHostLogEntriesAsync(CancellationToken cancellationToken); 131public IAsyncEnumerable<BackchannelLogEntry> GetAppHostLogEntriesAsync(CancellationToken cancellationToken) 133return InvokeStreamingRpcAsync<BackchannelLogEntry>( 134(rpc, ct) => rpc.InvokeStreamingWithProfilingAsync<BackchannelLogEntry>(
Backchannel\BackchannelJsonSerializerContext.cs (2)
30[JsonSerializable(typeof(IAsyncEnumerable<BackchannelLogEntry>))] 31[JsonSerializable(typeof(MessageFormatterEnumerableTracker.EnumeratorResults<BackchannelLogEntry>))]
Commands\RunCommand.cs (5)
1237var pendingExtensionEntries = new List<BackchannelLogEntry>(); 1278var entry = enumerator.Current; 1371List<BackchannelLogEntry> pendingExtensionEntries) 1373foreach (var pendingEntry in pendingExtensionEntries) 1384BackchannelLogEntry entry)
Aspire.Cli.Tests (22)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1105public async IAsyncEnumerable<BackchannelLogEntry> GetAppHostLogEntriesAsync([EnumeratorCancellation] CancellationToken cancellationToken)
Commands\RunCommandTests.cs (18)
2511static async IAsyncEnumerable<BackchannelLogEntry> CaptureLogsUntilCancelledAsync( 2583private async IAsyncEnumerable<BackchannelLogEntry> ReturnLogEntriesUntilCancelledAsync([EnumeratorCancellation] CancellationToken cancellationToken) 2602private static async IAsyncEnumerable<BackchannelLogEntry> EmptyLogEntriesAsync([EnumeratorCancellation] CancellationToken cancellationToken) 4470var entries = new BackchannelLogEntry[] 4514async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4516foreach (var entry in entries) 4557static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4610static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries( 4654static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4700static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4740static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4794async IAsyncEnumerable<BackchannelLogEntry> YieldOneEntryThenWait([EnumeratorCancellation] CancellationToken cancellationToken) 4842async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4886static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4922static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4970async IAsyncEnumerable<BackchannelLogEntry> YieldOneEntryThenDisconnect([EnumeratorCancellation] CancellationToken cancellationToken) 4978private static BackchannelLogEntry CreateEntry(long sequenceNumber, LogLevel level, string message, string? exception = null, Guid? generationId = null) 5018async static IAsyncEnumerable<BackchannelLogEntry> ThrowConnectionLostAfterOneEntry([EnumeratorCancellation] CancellationToken cancellationToken)
TestServices\TestAppHostCliBackchannel.cs (3)
22public Func<CancellationToken, IAsyncEnumerable<BackchannelLogEntry>>? GetAppHostLogEntriesAsyncCallback { get; set; } 242public async IAsyncEnumerable<BackchannelLogEntry> GetAppHostLogEntriesAsync([EnumeratorCancellation]CancellationToken cancellationToken) 247await foreach (var entry in GetAppHostLogEntriesAsyncCallback.Invoke(cancellationToken))