共用方式為


CompositeEndpointDataSource.GetGroupedEndpoints(RouteGroupContext) 方法

定義

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

public override System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Endpoint> GetGroupedEndpoints (Microsoft.AspNetCore.Routing.RouteGroupContext context);
override this.GetGroupedEndpoints : Microsoft.AspNetCore.Routing.RouteGroupContext -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Endpoint>
Public Overrides Function GetGroupedEndpoints (context As RouteGroupContext) As IReadOnlyList(Of Endpoint)

參數

context
RouteGroupContext

如何分組傳 Endpoint 回實例的詳細資料,以及應用程式服務的參考。

傳回

針對指定的群組 PrefixConventions ,傳回實例的 Endpoint 唯讀集合。

適用於