메소드 | 설명 | |
---|---|---|
GetRequestValues ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : string |
读取request 的提交内容
|
|
GetResponseValues ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : string |
读取action返回的result
|
|
OnActionExecutedAsync ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, |
在请求执行完后 记录请求的数据以及返回数据
|
|
OnActionExecutingAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, |
||
OperateTrackAttribute ( ) : System | ||
OperateTrackAttribute ( string message ) : System |
初始化时填入类的说明
|
|
getUserByToken ( string token ) : int |
获取当前登录用户的id
|
메소드 | 설명 | |
---|---|---|
SkipLogging ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool |
判断类和方法头上的特性是否要进行Action拦截
|
public GetRequestValues ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : string | ||
actionExecutedContext | System.Web.Http.Filters.HttpActionExecutedContext | |
리턴 | string |
public GetResponseValues ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : string | ||
actionExecutedContext | System.Web.Http.Filters.HttpActionExecutedContext | |
리턴 | string |
public OnActionExecutedAsync ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, |
||
actionExecutedContext | System.Web.Http.Filters.HttpActionExecutedContext | |
cancellationToken | ||
리턴 | Task |
public OnActionExecutingAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, |
||
actionContext | System.Web.Http.Controllers.HttpActionContext | |
cancellationToken | ||
리턴 | Task |
public OperateTrackAttribute ( string message ) : System | ||
message | string | |
리턴 | System |