C# Class LionFrame.CoreCommon.CustomFilter.TenantFilterAttribute

权限验证 -- 判断当前操作用户 租户是否有操作权限
Inheritance: Attribute, IActionFilter
ファイルを表示 Open project: levy-w-wang/LionFrame

Public Methods

Method Description
OnActionExecuted ( ActionExecutedContext context ) : void

Called after the action executes, before the action result.

OnActionExecuting ( ActionExecutingContext context ) : void

Called before the action executes, after model binding is complete.

TenantFilterAttribute ( ) : System

Method Details

OnActionExecuted() public method

Called after the action executes, before the action result.
public OnActionExecuted ( ActionExecutedContext context ) : void
context ActionExecutedContext The .
return void

OnActionExecuting() public method

Called before the action executes, after model binding is complete.
public OnActionExecuting ( ActionExecutingContext context ) : void
context ActionExecutingContext The .
return void

TenantFilterAttribute() public method

public TenantFilterAttribute ( ) : System
return System