共用方式為


AuthorizationPolicyBuilder.Requirements 屬性

定義

取得或設定 的清單,此清單 IAuthorizationRequirement 必須成功,此原則才能成功。

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)

屬性值

適用於