Partilhar via


AssertionRequirement Construtores

Definição

Sobrecargas

AssertionRequirement(Func<AuthorizationHandlerContext,Boolean>)

Cria uma nova instância de AssertionRequirement.

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

Cria uma nova instância de AssertionRequirement.

AssertionRequirement(Func<AuthorizationHandlerContext,Boolean>)

Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs

Cria uma nova instância 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))

Parâmetros

handler
Func<AuthorizationHandlerContext,Boolean>

Função que é chamada para lidar com esse requisito.

Aplica-se a

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

Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs
Origem:
AssertionRequirement.cs

Cria uma nova instância 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)))

Parâmetros

handler
Func<AuthorizationHandlerContext,Task<Boolean>>

Função que é chamada para lidar com esse requisito.

Aplica-se a