Dela via


INodeBuilderPolicy.GetEdges(IReadOnlyList<Endpoint>) Method

Definition

Generates a graph that representations the relationship between endpoints and hosts.

public:
 System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Routing::Matching::PolicyNodeEdge> ^ GetEdges(System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Http::Endpoint ^> ^ endpoints);
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Routing.Matching.PolicyNodeEdge> GetEdges (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Endpoint> endpoints);
abstract member GetEdges : System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Endpoint> -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Routing.Matching.PolicyNodeEdge>
Public Function GetEdges (endpoints As IReadOnlyList(Of Endpoint)) As IReadOnlyList(Of PolicyNodeEdge)

Parameters

endpoints
IReadOnlyList<Endpoint>

A list of Endpoint.

Returns

A graph representing the relationship between endpoints and hosts.

Applies to