1 implementation of DcpResourceKind
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
26
public string
DcpResourceKind
=> TDcpResource.ObjectKind;
6 references to DcpResourceKind
Aspire.Hosting (6)
Dcp\DcpExecutor.cs (5)
1174
using var activity = ProfilingTelemetry.StartResourceStop(_configuration, resourceReference.ModelResource, appResource.
DcpResourceKind
, appResource.DcpResourceName);
1217
throw new InvalidOperationException($"Unexpected resource type: {appResource.
DcpResourceKind
}");
1242
using var activity = ProfilingTelemetry.StartResourceStart(_configuration, resourceReference.ModelResource, appResource.
DcpResourceKind
, appResource.DcpResourceName, resourceType);
1246
_logger.LogDebug("Starting {ResourceType} '{ResourceName}'.", appResource.
DcpResourceKind
, resourceReference.DcpResourceName);
1295
throw new InvalidOperationException($"Unexpected resource type: {appResource.
DcpResourceKind
}");
Dcp\DcpResourceWatcher.cs (1)
968
await TryRefreshResource(appResource.
DcpResourceKind
, appResource.DcpResourceName).ConfigureAwait(false);