Condividi tramite


AssertionRequirement Costruttori

Definizione

Overload

AssertionRequirement(Func<AuthorizationHandlerContext,Boolean>)

Crea una nuova istanza di AssertionRequirement.

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

Crea una nuova istanza di AssertionRequirement.

AssertionRequirement(Func<AuthorizationHandlerContext,Boolean>)

Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs

Crea una nuova istanza di 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))

Parametri

handler
Func<AuthorizationHandlerContext,Boolean>

Funzione chiamata per gestire questo requisito.

Si applica a

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

Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs
Origine:
AssertionRequirement.cs

Crea una nuova istanza di 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)))

Parametri

handler
Func<AuthorizationHandlerContext,Task<Boolean>>

Funzione chiamata per gestire questo requisito.

Si applica a