Megosztás a következőn keresztül:


AuthorizationHandlerContext.Requirements Property

Definition

The collection of all the IAuthorizationRequirement for the current authorization action.

public:
 property System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ Requirements { System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ get(); };
public:
 virtual property System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ Requirements { System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ get(); };
public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> Requirements { get; }
public virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> Requirements { get; }
member this.Requirements : seq<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement>
Public ReadOnly Property Requirements As IEnumerable(Of IAuthorizationRequirement)
Public Overridable ReadOnly Property Requirements As IEnumerable(Of IAuthorizationRequirement)

Property Value

Applies to