C# Class Flatwhite.LogExecutionTimeAttribute

Inheritance: MethodFilterAttribute
Afficher le fichier Open project: vanthoainguyen/Flatwhite

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetTraceContexts ( ) : Stack

Method Details

LogExecutionTimeAttribute() public méthode

Initializes in instance of PrintCallingTimeAttribute with minimum Order to make it run first
public LogExecutionTimeAttribute ( ) : System
Résultat System

OnMethodExecuted() public méthode

Pop the current trace and print info
public OnMethodExecuted ( MethodExecutedContext methodExecutedContext ) : void
methodExecutedContext MethodExecutedContext
Résultat void

OnMethodExecuting() public méthode

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
Résultat void