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)
1089
using var activity = ProfilingTelemetry.StartResourceStop(_configuration, resourceReference.ModelResource, appResource.
DcpResourceKind
, appResource.DcpResourceName);
1135
throw new InvalidOperationException($"Unexpected resource type: {appResource.
DcpResourceKind
}");
1160
using var activity = ProfilingTelemetry.StartResourceStart(_configuration, resourceReference.ModelResource, appResource.
DcpResourceKind
, appResource.DcpResourceName, resourceType);
1164
_logger.LogDebug("Starting {ResourceType} '{ResourceName}'.", appResource.
DcpResourceKind
, resourceReference.DcpResourceName);
1213
throw new InvalidOperationException($"Unexpected resource type: {appResource.
DcpResourceKind
}");
Dcp\DcpResourceWatcher.cs (1)
968
await TryRefreshResource(appResource.
DcpResourceKind
, appResource.DcpResourceName).ConfigureAwait(false);