次の方法で共有


AuthorizationPolicyBuilder.AddRequirements メソッド

定義

このインスタンスの にRequirements指定された requirements を追加します。

public:
 Microsoft::AspNetCore::Authorization::AuthorizationPolicyBuilder ^ AddRequirements(... cli::array <Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ requirements);
public Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder AddRequirements (params Microsoft.AspNetCore.Authorization.IAuthorizationRequirement[] requirements);
member this.AddRequirements : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement[] -> Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder
Public Function AddRequirements (ParamArray requirements As IAuthorizationRequirement()) As AuthorizationPolicyBuilder

パラメーター

requirements
IAuthorizationRequirement[]

追加する承認要件。

戻り値

操作が完了した後のこのインスタンスへの参照。

適用対象