C# 클래스 Flatwhite.LogExecutionTimeAttribute

상속: MethodFilterAttribute
파일 보기 프로젝트 열기: vanthoainguyen/Flatwhite

공개 메소드들

메소드 설명
LogExecutionTimeAttribute ( ) : System

Initializes in instance of PrintCallingTimeAttribute with minimum Order to make it run first

OnMethodExecuted ( MethodExecutedContext methodExecutedContext ) : void

Pop the current trace and print info

OnMethodExecuting ( MethodExecutingContext methodExecutingContext ) : void

Check if there is a parent trace, create a new trace and push to the stack which is stored in the CallContext

비공개 메소드들

메소드 설명
GetTraceContexts ( ) : Stack

메소드 상세

LogExecutionTimeAttribute() 공개 메소드

Initializes in instance of PrintCallingTimeAttribute with minimum Order to make it run first
public LogExecutionTimeAttribute ( ) : System
리턴 System

OnMethodExecuted() 공개 메소드

Pop the current trace and print info
public OnMethodExecuted ( MethodExecutedContext methodExecutedContext ) : void
methodExecutedContext MethodExecutedContext
리턴 void

OnMethodExecuting() 공개 메소드

Check if there is a parent trace, create a new trace and push to the stack which is stored in the CallContext
public OnMethodExecuting ( MethodExecutingContext methodExecutingContext ) : void
methodExecutingContext MethodExecutingContext
리턴 void