語言

CompositeEndpointDataSource 類別

定義

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

public ref class CompositeEndpointDataSource sealed : Microsoft::AspNetCore::Routing::EndpointDataSource
public sealed class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource
public sealed class CompositeEndpointDataSource : Microsoft.AspNetCore.Routing.EndpointDataSource, IDisposable
type CompositeEndpointDataSource = class
    inherit EndpointDataSource
type CompositeEndpointDataSource = class
    inherit EndpointDataSource
    interface IDisposable
Public NotInheritable Class CompositeEndpointDataSource
Inherits EndpointDataSource
Public NotInheritable Class CompositeEndpointDataSource
Inherits EndpointDataSource
Implements IDisposable
繼承
CompositeEndpointDataSource
實作

建構函式

名稱 Description
CompositeEndpointDataSource(IEnumerable<EndpointDataSource>)

從 endpointDataSources 具現化 CompositeEndpointDataSource 物件。

屬性

名稱 Description
DataSources

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

Endpoints

傳回實例的 Endpoint 唯讀集合。

方法

名稱 Description
Dispose()

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

GetChangeToken()

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

GetGroupedEndpoints(RouteGroupContext)

Endpoint根據指定的 Prefix 和 Conventions ,取得這個 EndpointDataSource 的實例。

GetGroupedEndpoints(RouteGroupContext)

Endpoint根據指定的 Prefix 和 Conventions ,取得這個 EndpointDataSource 的實例。

(繼承來源 EndpointDataSource)

適用於