1 instantiation of EmptyCreationContext
Aspire.Hosting (1)
Dcp\IObjectCreator.cs (1)
14
internal static readonly EmptyCreationContext s_instance =
new
();
8 references to EmptyCreationContext
Aspire.Hosting (8)
Dcp\ContainerCreator.cs (7)
21
internal sealed class ContainerCreator : IObjectCreator<Container, ContainerNetworkEndpointContext>, IObjectCreator<ContainerExec,
EmptyCreationContext
>
306
IObjectCreator<ContainerExec,
EmptyCreationContext
> containerExecCreator = this;
307
await factory.CreateRenderedResourcesAsync(containerExecCreator, containerExes,
EmptyCreationContext
.s_instance, cToken).ConfigureAwait(false);
311
bool IObjectCreator<ContainerExec,
EmptyCreationContext
>.IsReadyToCreate(RenderedModelResource<ContainerExec> resource,
EmptyCreationContext
context)
314
async Task IObjectCreator<ContainerExec,
EmptyCreationContext
>.CreateObjectAsync(RenderedModelResource<ContainerExec> er,
EmptyCreationContext
context, ILogger _, IDcpObjectFactory factory, CancellationToken cancellationToken)
Dcp\IObjectCreator.cs (1)
14
internal static readonly
EmptyCreationContext
s_instance = new();