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