コード例 #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)
 {
 }
コード例 #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)
 {
 }
コード例 #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)
 {
 }
コード例 #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);