1 implementation of IResourceReference
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
11internal class AppResource : IResourceReference
9 references to IResourceReference
Aspire.Hosting (8)
Dcp\DcpExecutor.cs (3)
1579public async Task StopResourceAsync(IResourceReference resourceReference, CancellationToken cancellationToken) 1599public IResourceReference GetResource(string resourceName) 1612public async Task StartResourceAsync(IResourceReference resourceReference, CancellationToken cancellationToken)
Dcp\IDcpExecutor.cs (3)
10IResourceReference GetResource(string resourceName); 11Task StartResourceAsync(IResourceReference resourceReference, CancellationToken cancellationToken); 12Task StopResourceAsync(IResourceReference resourceReference, CancellationToken cancellationToken);
Orchestrator\ApplicationOrchestrator.cs (2)
188var resourceReference = _dcpExecutor.GetResource(resourceName); 216var resourceReference = _dcpExecutor.GetResource(resourceName);
Aspire.Hosting.Tests (1)
Dcp\DcpExecutorTests.cs (1)
984var resourceReference = appExecutor.GetResource(dcpCtr.Metadata.Name);