1 write to DcpResource
Aspire.Hosting (1)
Dcp\ApplicationExecutor.cs (1)
45
DcpResource
= dcpResource;
11 references to DcpResource
Aspire.Hosting (11)
Dcp\ApplicationExecutor.cs (11)
51
public Service Service => (Service)
DcpResource
;
997
var svc = (Service)sp.
DcpResource
;
1248
await notificationService.PublishUpdateAsync(er.ModelResource, er.
DcpResource
.Metadata.Name, s => s with { State = "FailedToStart" }).ConfigureAwait(false);
1256
await notificationService.PublishUpdateAsync(er.ModelResource, er.
DcpResource
.Metadata.Name, s => s with { State = "FailedToStart" }).ConfigureAwait(false);
1311
switch (er.
DcpResource
)
1322
throw new InvalidOperationException($"Expected an Executable-like resource, but got {er.
DcpResource
.Kind} instead");
1555
await SetChildResourceAsync(cr.ModelResource, cr.
DcpResource
.Metadata.Name, state: "Starting", startTimeStamp: null, stopTimeStamp: null).ConfigureAwait(false);
1574
await SetChildResourceAsync(cr.ModelResource, cr.
DcpResource
.Metadata.Name, state: "FailedToStart", startTimeStamp: null, stopTimeStamp: null).ConfigureAwait(false);
1607
var dcpContainerResource = (Container)cr.
DcpResource
;
1871
if (HasMultipleReplicas(appResource.
DcpResource
))
1891
if (HasMultipleReplicas(appResource.
DcpResource
) && ea.TargetPort is int)