Beispiel #1
0
 public override void SayBoo(string a, object b, IntPtr c, int d, string e)
 {
     if (InterceptManager.Intercept(this.GetType().GetMethod("SayBoo"), this))
     {
         throw new InterceptException();
     }
     base.SayBoo(a, b, c, d, e);
 }
Beispiel #2
0
 public override string SayHello(int param1)
 {
     if (InterceptManager.Intercept(this.GetType().GetMethod("SayHello"), this))
     {
         throw new InterceptException();
     }
     return(base.SayHello(param1));
 }