ResourceUrlsCallbackContext Methods
ClassMethods2 members
Represents a callback context for resource URLs.
Gets an endpoint reference from
ResourceUrlsCallbackContext.Resource for the specified endpoint name. If ResourceUrlsCallbackContext.Resource does not implement IResourceWithEndpoints then returns null. public class ResourceUrlsCallbackContext{ public EndpointReference? GetEndpoint( string name) { // ... }}Parameters
namestringThe name of the endpoint.GetEndpoint(string, NetworkIdentifier) Section titled GetEndpoint(string, NetworkIdentifier)nullableEndpoint Gets an endpoint reference from
ResourceUrlsCallbackContext.Resource for the specified endpoint name. If ResourceUrlsCallbackContext.Resource does not implement IResourceWithEndpoints then returns null. public class ResourceUrlsCallbackContext{ public EndpointReference? GetEndpoint( string name, NetworkIdentifier contextNetworkId) { // ... }}Parameters
namestringThe name of the endpoint.contextNetworkId Network