ResourceUrlsCallbackAnnotation
Class sealed net10.0
Represents an annotation that provides a callback to modify URLs that should be displayed for the resource.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ResourceUrlsCallbackAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}Constructors2
Section titled ConstructorsResourceUrlsCallbackAnnotation(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.