AuthorizationPolicy.Combine 方法

定义

重载

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的组合。

适用于