C# 클래스 Shaspect.BaseAspectAttribute

상속: System.Attribute
파일 보기 프로젝트 열기: mshmelev/Shaspect

공개 메소드들

메소드 설명
Initialize ( MethodBase method ) : void

Called once at application startup for every method the aspect is applied for.

OnEntry ( MethodExecInfo methodExecInfo ) : void

Called on target method is starting execution

OnException ( MethodExecInfo methodExecInfo ) : void

Called on unhandled exception occured in target method.

OnExit ( MethodExecInfo methodExecInfo ) : void

Called on target method finished execution either successfully or with exception. Called after OnSuccess and OnException

OnSuccess ( MethodExecInfo methodExecInfo ) : void

Called on target method successfully finished execution.

메소드 상세

Initialize() 공개 메소드

Called once at application startup for every method the aspect is applied for.
public Initialize ( MethodBase method ) : void
method System.Reflection.MethodBase
리턴 void

OnEntry() 공개 메소드

Called on target method is starting execution
public OnEntry ( MethodExecInfo methodExecInfo ) : void
methodExecInfo MethodExecInfo
리턴 void

OnException() 공개 메소드

Called on unhandled exception occured in target method.
public OnException ( MethodExecInfo methodExecInfo ) : void
methodExecInfo MethodExecInfo
리턴 void

OnExit() 공개 메소드

Called on target method finished execution either successfully or with exception. Called after OnSuccess and OnException
public OnExit ( MethodExecInfo methodExecInfo ) : void
methodExecInfo MethodExecInfo
리턴 void

OnSuccess() 공개 메소드

Called on target method successfully finished execution.
public OnSuccess ( MethodExecInfo methodExecInfo ) : void
methodExecInfo MethodExecInfo
리턴 void