Skip to content
Docs Try Aspire

ResourceUrlsCallbackContext Properties

Class Properties 5 members
Represents a callback context for resource URLs.
CancellationToken Section titled CancellationToken CancellationToken
Gets the ResourceUrlsCallbackContext.CancellationToken associated with the callback context.
public CancellationToken CancellationToken { get; }
Gets the execution context associated with this invocation of the AppHost.
public DistributedApplicationExecutionContext ExecutionContext { get; }
A logger instance to use for logging.
public ILogger Logger { get; set; }
Gets the resource this the URLs are associated with.
public IResource Resource { get; }
Gets the URLs associated with the callback context.
public List<ResourceUrlAnnotation> Urls { get; }