Ejemplo n.º 1
0
 private void CheckForCircularLink(ServerIntercept intercept) {
   if (mIntercept != null) {
     if (mIntercept == intercept) {
       throw new Exception("Circular links with intercepts not allowed!");
     }
     mIntercept.CheckForCircularLink(intercept);
   }
 }
Ejemplo n.º 2
0
 private void CheckForCircularLink(ServerIntercept intercept)
 {
     if (mIntercept != null)
     {
         if (mIntercept == intercept)
         {
             throw new Exception("Circular links with intercepts not allowed!");
         }
         mIntercept.CheckForCircularLink(intercept);
     }
 }