AuthorizationPolicy.Combine 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Combine(AuthorizationPolicy[]) |
将指定的 AuthorizationPolicy 合并为单个策略。 |
Combine(IEnumerable<AuthorizationPolicy>) |
将指定的 AuthorizationPolicy 合并为单个策略。 |
Combine(AuthorizationPolicy[])
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
将指定的 AuthorizationPolicy 合并为单个策略。
public:
static Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^ Combine(... cli::array <Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^> ^ policies);
public static Microsoft.AspNetCore.Authorization.AuthorizationPolicy Combine (params Microsoft.AspNetCore.Authorization.AuthorizationPolicy[] policies);
static member Combine : Microsoft.AspNetCore.Authorization.AuthorizationPolicy[] -> Microsoft.AspNetCore.Authorization.AuthorizationPolicy
Public Shared Function Combine (ParamArray policies As AuthorizationPolicy()) As AuthorizationPolicy
参数
- policies
- AuthorizationPolicy[]
要合并的授权策略。
返回
一个新的 AuthorizationPolicy ,它表示指定 policies
的组合。
适用于
Combine(IEnumerable<AuthorizationPolicy>)
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
将指定的 AuthorizationPolicy 合并为单个策略。
public:
static Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^ Combine(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^> ^ policies);
public static Microsoft.AspNetCore.Authorization.AuthorizationPolicy Combine (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.AuthorizationPolicy> policies);
static member Combine : seq<Microsoft.AspNetCore.Authorization.AuthorizationPolicy> -> Microsoft.AspNetCore.Authorization.AuthorizationPolicy
Public Shared Function Combine (policies As IEnumerable(Of AuthorizationPolicy)) As AuthorizationPolicy
参数
- policies
- IEnumerable<AuthorizationPolicy>
要合并的授权策略。
返回
一个新的 AuthorizationPolicy ,它表示指定 policies
的组合。