ResourceUrlsCallbackAnnotation Constructors
Class Constructors 2 members
Represents an annotation that provides a callback to modify URLs that should be displayed for the resource.
Constructor(Action<ResourceUrlsCallbackContext>) Section titled Constructor(Action<ResourceUrlsCallbackContext>) Initializes a new instance of the
ResourceUrlsCallbackAnnotation class with the specified callback. public sealed class ResourceUrlsCallbackAnnotation{ public ResourceUrlsCallbackAnnotation( Action<ResourceUrlsCallbackContext> callback) { // ... }}Parameters
callback Action<ResourceUrlsCallbackContext> The callback to be invoked. Constructor(Func<ResourceUrlsCallbackContext, Task>) Section titled Constructor(Func<ResourceUrlsCallbackContext, Task>) Initializes a new instance of the
ResourceUrlsCallbackContext class with the specified callback. public sealed class ResourceUrlsCallbackAnnotation{ public ResourceUrlsCallbackAnnotation( Func<ResourceUrlsCallbackContext, Task> callback) { // ... }}Parameters
callback Func<ResourceUrlsCallbackContext, Task> The callback to be invoked.