IExecutionConfigurationGatherer Methods
Interface Methods 1 member
Gathers resource configurations (arguments and environment variables) and optionally applies additional metadata to the resource.
GatherAsync(IExecutionConfigurationGathererContext, IResource, ILogger, DistributedApplicationExecutionContext, CancellationToken) Section titled GatherAsync(IExecutionConfigurationGathererContext, IResource, ILogger, DistributedApplicationExecutionContext, CancellationToken) abstract ValueTask Gathers the relevant resource execution configuration (arguments, environment variables, and optionally additional custom data)
public interface IExecutionConfigurationGatherer{ public abstract ValueTask GatherAsync( IExecutionConfigurationGathererContext context, IResource resource, ILogger resourceLogger, DistributedApplicationExecutionContext executionContext, CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
context IExecutionConfigurationGathererContext The initial resource configuration context. resource IResource The resource for which configuration is being gathered. resourceLogger ILogger The logger for the resource. executionContext DistributedApplicationExecutionContext The execution context in which the resource is being configured. cancellationToken CancellationToken optional A cancellation token. Returns
ValueTask A task representing the asynchronous operation.