Udostępnij za pośrednictwem


INodeBuilderPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint>) Metoda

Definicja

Ocenia, czy zasady są zgodne z dowolnymi punktami końcowymi podanymi w pliku 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

Parametry

endpoints
IReadOnlyList<Endpoint>

Lista .Endpoint

Zwraca

true jeśli zasady mają zastosowanie do dowolnego z podanych endpointselementów .

Dotyczy