AuthorizationPolicyBuilder.Requirements 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个 列表, 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)