共用方式為


PolicyEvaluator(IAuthorizationService) 建構函式

定義

建構函式

public:
 PolicyEvaluator(Microsoft::AspNetCore::Authorization::IAuthorizationService ^ authorization);
public PolicyEvaluator (Microsoft.AspNetCore.Authorization.IAuthorizationService authorization);
new Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator : Microsoft.AspNetCore.Authorization.IAuthorizationService -> Microsoft.AspNetCore.Authorization.Policy.PolicyEvaluator
Public Sub New (authorization As IAuthorizationService)

參數

authorization
IAuthorizationService

授權服務。

適用於