共用方式為


ApiScopeCollection 類別

定義

Duende.IdentityServer.Models.ApiScope 的集合。

public ref class ApiScopeCollection : System::Collections::ObjectModel::Collection<IdentityServer4::Models::ApiScope ^>
public class ApiScopeCollection : System.Collections.ObjectModel.Collection<IdentityServer4.Models.ApiScope>
public class ApiScopeCollection : System.Collections.ObjectModel.Collection<Duende.IdentityServer.Models.ApiScope>
type ApiScopeCollection = class
    inherit Collection<ApiScope>
Public Class ApiScopeCollection
Inherits Collection(Of ApiScope)
繼承
Collection<IdentityServer4.Models.ApiScope>
ApiScopeCollection
繼承
Collection<Duende.IdentityServer.Models.ApiScope>
ApiScopeCollection

建構函式

ApiScopeCollection()

初始化 ApiScopeCollection 的新執行個體。

ApiScopeCollection(IList<ApiScope>)

使用 中的 list 指定 API 範圍,初始化 的新實例 ApiScopeCollection

ApiScopeCollection(IList<ApiScope>)

使用 中的 list 指定 API 範圍,初始化 的新實例 ApiScopeCollection

屬性

Item[String]

取得指定其名稱的 API 資源。

方法

AddRange(ApiScope[])

將 中的 scopes 範圍加入至集合。

AddRange(ApiScope[])

將 中的 scopes 範圍加入至集合。

ContainsScope(String)

取得指定的範圍是否已定義。

適用於