Freigeben über


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

Name Description
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

Name Description
Callback

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

Applies to