6 instantiations of BackchannelLogEntry
Aspire.Cli.Tests (6)
Commands\RunCommandTests.cs (6)
2534yield return new BackchannelLogEntry 4415new() 4423new() 4431new() 4923return new BackchannelLogEntry 4963yield 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)
29[JsonSerializable(typeof(IAsyncEnumerable<BackchannelLogEntry>))] 30[JsonSerializable(typeof(MessageFormatterEnumerableTracker.EnumeratorResults<BackchannelLogEntry>))]
Commands\RunCommand.cs (5)
1227var pendingExtensionEntries = new List<BackchannelLogEntry>(); 1268var entry = enumerator.Current; 1361List<BackchannelLogEntry> pendingExtensionEntries) 1363foreach (var pendingEntry in pendingExtensionEntries) 1374BackchannelLogEntry entry)
Aspire.Cli.Tests (22)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1105public async IAsyncEnumerable<BackchannelLogEntry> GetAppHostLogEntriesAsync([EnumeratorCancellation] CancellationToken cancellationToken)
Commands\RunCommandTests.cs (18)
2454static async IAsyncEnumerable<BackchannelLogEntry> CaptureLogsUntilCancelledAsync( 2526private async IAsyncEnumerable<BackchannelLogEntry> ReturnLogEntriesUntilCancelledAsync([EnumeratorCancellation] CancellationToken cancellationToken) 2545private static async IAsyncEnumerable<BackchannelLogEntry> EmptyLogEntriesAsync([EnumeratorCancellation] CancellationToken cancellationToken) 4413var entries = new BackchannelLogEntry[] 4457async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4459foreach (var entry in entries) 4500static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4553static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries( 4597static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4643static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4683static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4737async IAsyncEnumerable<BackchannelLogEntry> YieldOneEntryThenWait([EnumeratorCancellation] CancellationToken cancellationToken) 4785async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4829static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4865static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4913async IAsyncEnumerable<BackchannelLogEntry> YieldOneEntryThenDisconnect([EnumeratorCancellation] CancellationToken cancellationToken) 4921private static BackchannelLogEntry CreateEntry(long sequenceNumber, LogLevel level, string message, string? exception = null, Guid? generationId = null) 4961async 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))