예제 #1
0
파일: Speaker.cs 프로젝트: Osipion/TDI
 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);
 }
예제 #2
0
파일: Speaker.cs 프로젝트: Osipion/TDI
 public override string SayHello(int param1)
 {
     if (InterceptManager.Intercept(this.GetType().GetMethod("SayHello"), this))
     {
         throw new InterceptException();
     }
     return(base.SayHello(param1));
 }