Information about current method execution context
Example #1
0
 /// <summary>
 /// Called on target method finished execution either successfully or with exception.
 /// Called after <see cref="OnSuccess"/> and <see cref="OnException"/>
 /// </summary>
 /// <param name="methodExecInfo"></param>
 public virtual void OnExit(MethodExecInfo methodExecInfo)
 {
 }
Example #2
0
 /// <summary>
 /// Called on target method successfully finished execution.
 /// </summary>
 /// <param name="methodExecInfo"></param>
 public virtual void OnSuccess(MethodExecInfo methodExecInfo)
 {
 }
Example #3
0
 /// <summary>
 /// Called on unhandled exception occured in target method.
 /// </summary>
 /// <param name="methodExecInfo"></param>
 public virtual void OnException(MethodExecInfo methodExecInfo)
 {
 }
Example #4
0
 /// <summary>
 /// Called on target method is starting execution
 /// </summary>
 /// <param name="methodExecInfo"></param>
 public virtual void OnEntry(MethodExecInfo methodExecInfo)
 {
 }
Example #5
0
 /// <summary>
 /// Called on target method is starting execution
 /// </summary>
 /// <param name="methodExecInfo"></param>
 public virtual void OnEntry(MethodExecInfo methodExecInfo)
 {
 }
Example #6
0
 /// <summary>
 /// Called on target method successfully finished execution.
 /// </summary>
 /// <param name="methodExecInfo"></param>
 public virtual void OnSuccess(MethodExecInfo methodExecInfo)
 {
 }
Example #7
0
 /// <summary>
 /// Called on target method finished execution either successfully or with exception.
 /// Called after <see cref="OnSuccess"/> and <see cref="OnException"/>
 /// </summary>
 /// <param name="methodExecInfo"></param>
 public virtual void OnExit(MethodExecInfo methodExecInfo)
 {
 }
Example #8
0
 /// <summary>
 /// Called on unhandled exception occured in target method.
 /// </summary>
 /// <param name="methodExecInfo"></param>
 public virtual void OnException(MethodExecInfo methodExecInfo)
 {
 }