예제 #1
0
		public void AddBreakpoint (XsltDebuggerBreakpoint point)
		{
			if (point == null)
				throw new ArgumentNullException ("point");
			foreach (XsltDebuggerBreakpoint bp in breakpoints)
				if (bp.Equals (point))
					return;
			breakpoints.Add (point);
		}
예제 #2
0
		public void RemoveBreakpoint (XsltDebuggerBreakpoint point)
		{
			if (point == null)
				throw new ArgumentNullException ("point");
			for (int i = 0; i < breakpoints.Count; i++)
				if (point.Equals (breakpoints [i])) {
					breakpoints.RemoveAt (i);
					return;
				}
		}
예제 #3
0
 public void RemoveBreakpoint(XsltDebuggerBreakpoint point)
 {
     if (point == null)
     {
         throw new ArgumentNullException("point");
     }
     for (int i = 0; i < breakpoints.Count; i++)
     {
         if (point.Equals(breakpoints [i]))
         {
             breakpoints.RemoveAt(i);
             return;
         }
     }
 }
예제 #4
0
 public void AddBreakpoint(XsltDebuggerBreakpoint point)
 {
     if (point == null)
     {
         throw new ArgumentNullException("point");
     }
     foreach (XsltDebuggerBreakpoint bp in breakpoints)
     {
         if (bp.Equals(point))
         {
             return;
         }
     }
     breakpoints.Add(point);
 }