Dela via


AssertionRequirement Constructors

Definition

Overloads

AssertionRequirement(Func<AuthorizationHandlerContext,Boolean>)

Creates a new instance of AssertionRequirement.

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

Creates a new instance of 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

Creates a new instance of 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))

Parameters

handler
Func<AuthorizationHandlerContext,Boolean>

Function that is called to handle this requirement.

Applies to

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

Creates a new instance of 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)))

Parameters

handler
Func<AuthorizationHandlerContext,Task<Boolean>>

Function that is called to handle this requirement.

Applies to