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