ResourceUrlsCallbackContext
Classnet10.0
Represents a callback context for resource URLs.
namespace Aspire.Hosting.ApplicationModel;
public class ResourceUrlsCallbackContext{ // ...}8 members
Constructors1
Section titled Constructors Represents a callback context for resource URLs.
Properties5
Section titled PropertiesCancellationToken Gets the
ResourceUrlsCallbackContext.CancellationToken associated with the callback context. Gets the execution context associated with this invocation of the AppHost.
Methods2
Section titled MethodsGetEndpoint(string)ats export Gets an endpoint reference from
ResourceUrlsCallbackContext.Resource for the specified endpoint name. If ResourceUrlsCallbackContext.Resource does not implement IResourceWithEndpoints then returns null. Gets an endpoint reference from
ResourceUrlsCallbackContext.Resource for the specified endpoint name. If ResourceUrlsCallbackContext.Resource does not implement IResourceWithEndpoints then returns null.