Class BreakPointCollection
Collection for break points.
public class BreakPointCollection : IEnumerable<BreakPoint>, IEnumerable, INotifyCollectionChanged
- Inheritance
-
BreakPointCollection
- Implements
- Inherited Members
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<BreakPoint> GetEnumerator()
Returns
- IEnumerator<BreakPoint>
A IEnumerator that can be used to iterate through the collection.
IsBreakPoint(int)
Gets a value indicating whether there is a break point on the line.
public bool IsBreakPoint(int lineNumber)
Parameters
lineNumber
intLine of the break point.
Returns
- bool
True if there is a break point on the line number, otherwise false.
MoveBreakPoints(int, int)
Moves the break points which are equal or greater than the startLine
, by the lineCount
.
public void MoveBreakPoints(int startLine, int lineCount)
Parameters
Remarks
lineCount
can be zero or less than zero.
Toggle(int)
Toggles the break point on the line number.
public void Toggle(int lineNumber)
Parameters
lineNumber
intLine to toggle.
Events
CollectionChanged
Occurs when a break point is added or removed.
public event NotifyCollectionChangedEventHandler CollectionChanged