Compartir a través de


AssertionRequirement Constructores

Definición

Sobrecargas

AssertionRequirement(Func<AuthorizationHandlerContext,Boolean>)

Crea una nueva instancia de AssertionRequirement.

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

Crea una nueva instancia 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

Crea una nueva instancia 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>

Función a la que se llama para controlar este requisito.

Se aplica a

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

Crea una nueva instancia 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>>

Función a la que se llama para controlar este requisito.

Se aplica a