IAuthorizationEvaluator.Evaluate(AuthorizationHandlerContext) 方法

定义

确定授权结果是否成功。

public:
 Microsoft::AspNetCore::Authorization::AuthorizationResult ^ Evaluate(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public Microsoft.AspNetCore.Authorization.AuthorizationResult Evaluate (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member Evaluate : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> Microsoft.AspNetCore.Authorization.AuthorizationResult
Public Function Evaluate (context As AuthorizationHandlerContext) As AuthorizationResult

参数

context
AuthorizationHandlerContext

授权信息。

返回

AuthorizationResult

适用于