Share via


ResourceUrlsCallbackAnnotation Class

Definition

Represents an annotation that provides a callback to modify URLs that should be displayed for the resource.

public sealed class ResourceUrlsCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type ResourceUrlsCallbackAnnotation = class
    interface IResourceAnnotation
Public NotInheritable Class ResourceUrlsCallbackAnnotation
Implements IResourceAnnotation
Inheritance
ResourceUrlsCallbackAnnotation
Implements

Constructors

ResourceUrlsCallbackAnnotation(Action<ResourceUrlsCallbackContext>)

Initializes a new instance of the ResourceUrlsCallbackAnnotation class with the specified callback.

ResourceUrlsCallbackAnnotation(Func<ResourceUrlsCallbackContext,Task>)

Initializes a new instance of the ResourceUrlsCallbackContext class with the specified callback.

Properties

Callback

Gets or sets the callback action to be executed when the URLs are being processed.

Applies to