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)nullableEndpointReference? 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.contextNetworkIDNetworkIdentifierThe identifier of the network that serves as the context for the endpoint reference.