24 references to Subscribe
Aspire.Hosting (1)
ResourceLoggerForwarderService.cs (1)
70
using var subscription = resourceLoggerService.
Subscribe
(resourceId, logEvent =>
Aspire.Hosting.Tests (23)
Dcp\DcpExecutorTests.cs (14)
2162
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
2231
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2315
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
2408
using var subscription = resourceLoggerService.
Subscribe
(blockingDcpResourceName, _ => { });
2486
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2566
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2650
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2772
IDisposable? firstSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2803
secondSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2928
IDisposable? firstSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2959
secondSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
3367
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
3548
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, _ => { });
3633
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 =>