Sisk

Method

HtmlDocumentationExporter.GetEndpointId

Namespace
Sisk.Documenting.Html
Assembly
Sisk.Documenting.Html.dll

GetEndpointId(ApiEndpoint) #

Gets the unique HTML ID of an API endpoint, derived from its method and route path.

C#
protected string GetEndpointId(ApiEndpoint endpoint)

Parameters #

endpoint ApiEndpoint

The API endpoint.

Returns #

string

The endpoint ID, which is safe for use in HTML and CSS selectors.

Type to search the documentation and the API reference.