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)

属性值

适用于