4 instantiations of ResourceLogBatch
aspire (1)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
816yield return new ResourceLogBatch { Lines = batch };
Aspire.Cli.Tests (3)
Commands\LogsCommandTests.cs (1)
1239new ResourceLogBatch
TestServices\TestAppHostAuxiliaryBackchannel.cs (2)
261yield return new ResourceLogBatch { Lines = lines.ToArray() }; 268yield return new ResourceLogBatch { Lines = lines.ToArray() };
19 references to ResourceLogBatch
aspire (12)
Backchannel\AppHostAuxiliaryBackchannel.cs (6)
748public IAsyncEnumerable<ResourceLogBatch> GetConsoleLogBatchesAsync( 769private async IAsyncEnumerable<ResourceLogBatch> GetConsoleLogBatchesV3InternalAsync( 777IAsyncEnumerable<ResourceLogBatch>? logBatches; 780logBatches = await rpc.InvokeStreamingWithProfilingAsync<ResourceLogBatch>( 801await foreach (var logBatch in logBatches.WithCancellation(cancellationToken).ConfigureAwait(false)) 807private static async IAsyncEnumerable<ResourceLogBatch> BatchLogLinesAsync(
Backchannel\BackchannelJsonSerializerContext.cs (4)
57[JsonSerializable(typeof(ResourceLogBatch))] 58[JsonSerializable(typeof(ResourceLogBatch[]))] 59[JsonSerializable(typeof(IAsyncEnumerable<ResourceLogBatch>))] 60[JsonSerializable(typeof(MessageFormatterEnumerableTracker.EnumeratorResults<ResourceLogBatch>))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
129IAsyncEnumerable<ResourceLogBatch> GetConsoleLogBatchesAsync(
Commands\LogsCommand.cs (1)
423await foreach (var batch in connection.GetConsoleLogBatchesAsync(request, cancellationToken).ConfigureAwait(false))
Aspire.Cli.Tests (7)
Commands\LogsCommandTests.cs (3)
1662private static async IAsyncEnumerable<ResourceLogBatch> EnumerateLogBatchesAsync( 1663IEnumerable<ResourceLogBatch> logBatches, 1666foreach (var logBatch in logBatches)
Commands\TerminalCommandTests.cs (1)
720public IAsyncEnumerable<ResourceLogBatch> GetConsoleLogBatchesAsync(GetConsoleLogsRequest request, CancellationToken cancellationToken = default)
TestServices\TestAppHostAuxiliaryBackchannel.cs (3)
106public Func<GetConsoleLogsRequest, CancellationToken, IAsyncEnumerable<ResourceLogBatch>>? GetConsoleLogBatchesHandler { get; set; } 234public async IAsyncEnumerable<ResourceLogBatch> GetConsoleLogBatchesAsync( 242await foreach (var batch in GetConsoleLogBatchesHandler(request, cancellationToken).WithCancellation(cancellationToken).ConfigureAwait(false))