共用方式為


AuthorizationPolicy.Requirements 屬性

定義

取得 的唯讀清單,此清單 IAuthorizationRequirement 必須成功,此原則才能成功。

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

屬性值

適用於