IExecutionConfigurationGatherer Methods
InterfaceMethods1 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)abstractValueTask 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
contextIresourceIresourceLogger ILogger The logger for the resource.executionContext DistributedcancellationToken CancellationToken optionalA cancellation token.Returns
ValueTask A task representing the asynchronous operation.