AuthorizationPolicy.Combine Method

Definition

Overloads

Combine(AuthorizationPolicy[])

Combines the specified AuthorizationPolicy into a single policy.

Combine(IEnumerable<AuthorizationPolicy>)

Combines the specified AuthorizationPolicy into a single policy.

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

Combines the specified AuthorizationPolicy into a single policy.

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

Parameters

policies
AuthorizationPolicy[]

The authorization policies to combine.

Returns

A new AuthorizationPolicy which represents the combination of the specified policies.

Applies to

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

Combines the specified AuthorizationPolicy into a single policy.

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

Parameters

policies
IEnumerable<AuthorizationPolicy>

The authorization policies to combine.

Returns

A new AuthorizationPolicy which represents the combination of the specified policies.

Applies to