示例#1
0
 public virtual void OnAfterExecute(MethodExecutionInfo mif)
 {
 }
示例#2
0
 public virtual void OnException(MethodExecutionInfo mif, Exception e)
 {
 }
示例#3
0
        //some terminology:
        //1) code "injected" into certain points is called "advise"
        // --> the following methods allow to inject advise before, after and during exceptions of method execution
        //2) the definition of WHERE the advise is applied (before, after execution, etc) is called "poincut"
        // --> the following methods define three pointcuts

        public virtual void OnBeforeExecute(MethodExecutionInfo mif)
        {
        }