26 references to Subscribe
Aspire.Hosting (1)
ResourceLoggerForwarderService.cs (1)
70
using var subscription = resourceLoggerService.
Subscribe
(resourceId, logEvent =>
Aspire.Hosting.Tests (25)
Dcp\DcpExecutorTests.cs (14)
2782
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
2851
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2935
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
3028
using var subscription = resourceLoggerService.
Subscribe
(blockingDcpResourceName, _ => { });
3106
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
3186
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
3270
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
3392
IDisposable? firstSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
3423
secondSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
3548
IDisposable? firstSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
3579
secondSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
3987
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
4168
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, _ => { });
4253
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, _ => { });
ResourceLoggerServiceTests.cs (9)
319
using var subscription = service.
Subscribe
(resourceName, logLines.AddRange);
354
using var subscription = service.
Subscribe
(resourceName, logLines.AddRange);
400
subscription = service.
Subscribe
(resourceName, batch =>
461
using var subscription = service.
Subscribe
(resourceName, _ => { });
477
using (service.
Subscribe
(testResource.Name, _ => { }))
511
using var subscription = service.
Subscribe
(resourceName, batch =>
554
using var subscription = service.
Subscribe
(resourceName, batch =>
602
using var stableSubscription = service.
Subscribe
(resourceName, batch =>
623
using var subscription = service.
Subscribe
(resourceName, batch =>
WaitForTests.cs (2)
818
using var subscription = resourceLoggerService.
Subscribe
(containerResource.Resource.Name, lines =>
868
using var subscription = resourceLoggerService.
Subscribe
(containerResource.Resource.Name, lines =>