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)
2161
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
2230
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2314
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
2407
using var subscription = resourceLoggerService.
Subscribe
(blockingDcpResourceName, _ => { });
2485
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2565
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2649
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2771
IDisposable? firstSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2802
secondSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2927
IDisposable? firstSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2958
secondSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
3366
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
3547
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, _ => { });
3632
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 =>