Dela via


AuthorizationPolicyBuilder.Requirements Property

Definition

Gets or sets a list of IAuthorizationRequirements which must succeed for this policy to be successful.

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ Requirements { System::Collections::Generic::IList<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ value); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> Requirements { get; set; }
member this.Requirements : System.Collections.Generic.IList<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> with get, set
Public Property Requirements As IList(Of IAuthorizationRequirement)

Property Value

Applies to