INodeBuilderPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint>) Method

Definition

Evaluates if the policy matches any of the endpoints provided in endpoints.

C#
public bool AppliesToEndpoints (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Endpoint> endpoints);

Parameters

endpoints
IReadOnlyList<Endpoint>

A list of Endpoint.

Returns

true if the policy applies to any of the provided endpoints.

Applies to

Tuote Versiot
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0