Partilhar via


INodeBuilderPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint>) Método

Definição

Avalia se a política corresponde a qualquer um dos pontos de extremidade fornecidos em endpoints.

public:
 bool AppliesToEndpoints(System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Http::Endpoint ^> ^ endpoints);
public bool AppliesToEndpoints (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Endpoint> endpoints);
abstract member AppliesToEndpoints : System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Endpoint> -> bool
Public Function AppliesToEndpoints (endpoints As IReadOnlyList(Of Endpoint)) As Boolean

Parâmetros

endpoints
IReadOnlyList<Endpoint>

Uma lista de Endpoint.

Retornos

true se a política se aplicar a qualquer um dos fornecidos endpoints.

Aplica-se a