Partager via


AssertionRequirement Constructeurs

Définition

Surcharges

AssertionRequirement(Func<AuthorizationHandlerContext,Boolean>)

Crée une instance de AssertionRequirement.

AssertionRequirement(Func<AuthorizationHandlerContext,Task<Boolean>>)

Crée une instance de AssertionRequirement.

AssertionRequirement(Func<AuthorizationHandlerContext,Boolean>)

Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs

Crée une instance de AssertionRequirement.

public:
 AssertionRequirement(Func<Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^, bool> ^ handler);
public AssertionRequirement (Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext,bool> handler);
new Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement : Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, bool> -> Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement
Public Sub New (handler As Func(Of AuthorizationHandlerContext, Boolean))

Paramètres

handler
Func<AuthorizationHandlerContext,Boolean>

Fonction appelée pour gérer cette exigence.

S’applique à

AssertionRequirement(Func<AuthorizationHandlerContext,Task<Boolean>>)

Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs
Source:
AssertionRequirement.cs

Crée une instance de AssertionRequirement.

public:
 AssertionRequirement(Func<Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^, System::Threading::Tasks::Task<bool> ^> ^ handler);
public AssertionRequirement (Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext,System.Threading.Tasks.Task<bool>> handler);
new Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement : Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Threading.Tasks.Task<bool>> -> Microsoft.AspNetCore.Authorization.Infrastructure.AssertionRequirement
Public Sub New (handler As Func(Of AuthorizationHandlerContext, Task(Of Boolean)))

Paramètres

handler
Func<AuthorizationHandlerContext,Task<Boolean>>

Fonction appelée pour gérer cette exigence.

S’applique à