Condividi tramite


IEndpointSelectorPolicy.AppliesToEndpoints Metodo

Definizione

Restituisce un valore che indica se l'oggetto IEndpointSelectorPolicy si applica a qualsiasi endpoint in 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

Parametri

endpoints
IReadOnlyList<Endpoint>

Set di valori candidati Endpoint .

Restituisce

true se il criterio si applica a qualsiasi endpoint in , in endpointscaso contrario false.

Si applica a