1 instantiation of ResourceLogEntry
Aspire.Hosting (1)
Dcp\ResourceLogSource.cs (1)
91var succeeded = channel.Writer.TryWrite(new ResourceLogEntry(line, lineIsError, timestamp, rawContent));
10 references to ResourceLogEntry
Aspire.Hosting (7)
Dcp\DcpResourceWatcher.cs (4)
555IAsyncEnumerable<IReadOnlyList<ResourceLogEntry>>? enumerable = null; 584private static IEnumerable<LogEntry> CreateLogEntries(IReadOnlyList<ResourceLogEntry> batch) 586foreach (var entry in batch) 603IAsyncEnumerable<IReadOnlyList<ResourceLogEntry>>? enumerable = resource switch
Dcp\ResourceLogSource.cs (3)
28IAsyncEnumerable<IReadOnlyList<ResourceLogEntry>> 31public async IAsyncEnumerator<IReadOnlyList<ResourceLogEntry>> GetAsyncEnumerator(CancellationToken cancellationToken) 48var channel = Channel.CreateUnbounded<ResourceLogEntry>(new UnboundedChannelOptions
Aspire.Hosting.Tests (3)
Dcp\ResourceLogSourceTests.cs (3)
47var entries = new List<ResourceLogEntry>(); 54var entry = Assert.Single(entries); 91var entries = new List<ResourceLogEntry>();