6 instantiations of BackchannelLogEntry
Aspire.Cli.Tests (6)
Commands\RunCommandTests.cs (6)
2580yield return new BackchannelLogEntry 4461new() 4469new() 4477new() 4969return new BackchannelLogEntry 5009yield 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)
1235var pendingExtensionEntries = new List<BackchannelLogEntry>(); 1276var entry = enumerator.Current; 1369List<BackchannelLogEntry> pendingExtensionEntries) 1371foreach (var pendingEntry in pendingExtensionEntries) 1382BackchannelLogEntry entry)
Aspire.Cli.Tests (22)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1105public async IAsyncEnumerable<BackchannelLogEntry> GetAppHostLogEntriesAsync([EnumeratorCancellation] CancellationToken cancellationToken)
Commands\RunCommandTests.cs (18)
2500static async IAsyncEnumerable<BackchannelLogEntry> CaptureLogsUntilCancelledAsync( 2572private async IAsyncEnumerable<BackchannelLogEntry> ReturnLogEntriesUntilCancelledAsync([EnumeratorCancellation] CancellationToken cancellationToken) 2591private static async IAsyncEnumerable<BackchannelLogEntry> EmptyLogEntriesAsync([EnumeratorCancellation] CancellationToken cancellationToken) 4459var entries = new BackchannelLogEntry[] 4503async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4505foreach (var entry in entries) 4546static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4599static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries( 4643static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4689static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4729static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4783async IAsyncEnumerable<BackchannelLogEntry> YieldOneEntryThenWait([EnumeratorCancellation] CancellationToken cancellationToken) 4831async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4875static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4911static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4959async IAsyncEnumerable<BackchannelLogEntry> YieldOneEntryThenDisconnect([EnumeratorCancellation] CancellationToken cancellationToken) 4967private static BackchannelLogEntry CreateEntry(long sequenceNumber, LogLevel level, string message, string? exception = null, Guid? generationId = null) 5007async 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))