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)
1713
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
1782
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
1866
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
1959
using var subscription = resourceLoggerService.
Subscribe
(blockingDcpResourceName, _ => { });
2037
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2117
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2201
using var subscription = resourceLoggerService.
Subscribe
(container.Metadata.Name, batch =>
2323
IDisposable? firstSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2354
secondSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2479
IDisposable? firstSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2510
secondSubscription = resourceLoggerService.
Subscribe
(dcpResourceName, AddLogLines);
2805
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, batch =>
2986
using var subscription = resourceLoggerService.
Subscribe
(dcpResourceName, _ => { });
3071
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 =>