CompositeEndpointDataSource 類別

定義

表示 EndpointDataSource 其值來自 實例集合的 EndpointDataSource

C#
public sealed class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource
C#
public sealed class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource, IDisposable
繼承
CompositeEndpointDataSource
實作

建構函式

屬性

DataSources

傳回與 物件相關聯的實例集合 EndpointDataSource

Endpoints

傳回實例的 Endpoint 唯讀集合。

方法

Dispose()

表示 EndpointDataSource 其值來自 實例集合的 EndpointDataSource

GetChangeToken()

IChangeToken取得 ,用來發出快取 Endpoint 實例不正確訊號。

GetGroupedEndpoints(RouteGroupContext)

Endpoint根據指定的 PrefixConventions ,取得這個 EndpointDataSource 的實例。

GetGroupedEndpoints(RouteGroupContext)

Endpoint根據指定的 PrefixConventions ,取得這個 EndpointDataSource 的實例。

(繼承來源 EndpointDataSource)

適用於

產品 版本
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0