Dela via


EndpointMetadataComparer<TMetadata>.GetMetadata(Endpoint) Method

Definition

Gets the metadata of type TMetadata from the provided endpoint.

protected:
 virtual TMetadata GetMetadata(Microsoft::AspNetCore::Http::Endpoint ^ endpoint);
protected virtual TMetadata GetMetadata (Microsoft.AspNetCore.Http.Endpoint endpoint);
protected virtual TMetadata? GetMetadata (Microsoft.AspNetCore.Http.Endpoint endpoint);
abstract member GetMetadata : Microsoft.AspNetCore.Http.Endpoint -> 'Metadata
override this.GetMetadata : Microsoft.AspNetCore.Http.Endpoint -> 'Metadata
Protected Overridable Function GetMetadata (endpoint As Endpoint) As TMetadata

Parameters

endpoint
Endpoint

The Endpoint.

Returns

TMetadata

The TMetadata instance or null.

Applies to