C# Class Shaspect.BaseAspectAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: mshmelev/Shaspect

Méthodes publiques

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

Method Details

Initialize() public méthode

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

OnEntry() public méthode

Called on target method is starting execution
public OnEntry ( MethodExecInfo methodExecInfo ) : void
methodExecInfo MethodExecInfo
Résultat void

OnException() public méthode

Called on unhandled exception occured in target method.
public OnException ( MethodExecInfo methodExecInfo ) : void
methodExecInfo MethodExecInfo
Résultat void

OnExit() public méthode

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

OnSuccess() public méthode

Called on target method successfully finished execution.
public OnSuccess ( MethodExecInfo methodExecInfo ) : void
methodExecInfo MethodExecInfo
Résultat void