示例#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);
 }