6 instantiations of BackchannelLogEntry
Aspire.Cli.Tests (6)
Commands\RunCommandTests.cs (6)
1981yield return new BackchannelLogEntry 3735new() 3743new() 3751new() 4243return new BackchannelLogEntry 4283yield 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)
1123var pendingExtensionEntries = new List<BackchannelLogEntry>(); 1164var entry = enumerator.Current; 1257List<BackchannelLogEntry> pendingExtensionEntries) 1259foreach (var pendingEntry in pendingExtensionEntries) 1270BackchannelLogEntry entry)
Aspire.Cli.Tests (22)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1105public async IAsyncEnumerable<BackchannelLogEntry> GetAppHostLogEntriesAsync([EnumeratorCancellation] CancellationToken cancellationToken)
Commands\RunCommandTests.cs (18)
1901static async IAsyncEnumerable<BackchannelLogEntry> CaptureLogsUntilCancelledAsync( 1973private async IAsyncEnumerable<BackchannelLogEntry> ReturnLogEntriesUntilCancelledAsync([EnumeratorCancellation] CancellationToken cancellationToken) 1992private static async IAsyncEnumerable<BackchannelLogEntry> EmptyLogEntriesAsync([EnumeratorCancellation] CancellationToken cancellationToken) 3733var entries = new BackchannelLogEntry[] 3777async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 3779foreach (var entry in entries) 3820static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 3873static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries( 3917static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 3963static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4003static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4057async IAsyncEnumerable<BackchannelLogEntry> YieldOneEntryThenWait([EnumeratorCancellation] CancellationToken cancellationToken) 4105async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4149static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4185static async IAsyncEnumerable<BackchannelLogEntry> YieldEntries([EnumeratorCancellation] CancellationToken cancellationToken) 4233async IAsyncEnumerable<BackchannelLogEntry> YieldOneEntryThenDisconnect([EnumeratorCancellation] CancellationToken cancellationToken) 4241private static BackchannelLogEntry CreateEntry(long sequenceNumber, LogLevel level, string message, string? exception = null, Guid? generationId = null) 4281async 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))