INodeBuilderPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint>) 方法

定義

評估原則是否符合 中 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

參數

endpoints
IReadOnlyList<Endpoint>

的清單 Endpoint

傳回

true 如果原則適用于任何提供的 endpoints

適用於