Share via


EndpointDataSource.GetGroupedEndpoints(RouteGroupContext) 方法

定義

Endpoint取得指定的 和 Conventions ,取得這個 EndpointDataSourcePrefix 的實例。

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

參數

context
RouteGroupContext

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

傳回

傳回指定之群組 PrefixConventions 的實例唯讀集合 Endpoint

適用於