Example #1
0
 /// <summary>
 /// Method called after a successfully execution of any method that is decorated with an aspect or its class is decorated
 /// </summary>
 /// <param name="methodInfo"></param>
 public virtual void OnSuccess(AspectMethodInfo methodInfo)
 {
 }
Example #2
0
 /// <summary>
 /// Method called prior to leaving any method that is decorated with an aspect or its class is decorated
 /// </summary>
 /// <param name="methodInfo">MethodInfo</param>
 public virtual void OnExit(AspectMethodInfo methodInfo)
 {
 }
Example #3
0
 /// <summary>
 /// Method called after an exception has occurred in any method that is decorated with an aspect or its class is decorated
 /// </summary>
 /// <param name="methodInfo">MethodInfo</param>
 public virtual void OnError(AspectMethodInfo methodInfo)
 {
 }
Example #4
0
 /// <summary>
 /// Method called prior to invoking any method that is decorated with an aspect or its class is decorated
 /// </summary>
 /// <param name="methodInfo">MethodInfo</param>
 public abstract void OnEnter(AspectMethodInfo methodInfo);