Partilhar via


IEndpointSelectorPolicy.AppliesToEndpoints Método

Definição

Retorna um valor que indica se o IEndpointSelectorPolicy se aplica a qualquer ponto de extremidade no 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>

O conjunto de valores candidatos Endpoint .

Retornos

true se a política se aplicar a qualquer ponto de extremidade no endpoints, caso contrário false, .

Aplica-se a