ResourceUrlsCallbackAnnotation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |