共用方式為


AuthorizationPolicy.Combine 方法

定義

多載

Combine(AuthorizationPolicy[])

將指定的 AuthorizationPolicy 結合成單一原則。

Combine(IEnumerable<AuthorizationPolicy>)

將指定的 AuthorizationPolicy 結合成單一原則。

Combine(AuthorizationPolicy[])

來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
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>)

來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
AuthorizationPolicy.cs
來源:
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 之 的組合。

適用於