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