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

傳回

Boolean

true 如果原則套用至任何提供的 endpoints

適用於