Table of Contents

Class BreakPointCollection

Namespace
Loehnert.Lisrt.Scripting.Project
Assembly
Loehnert.Lisrt.Scripting.dll

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 int

Line 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

startLine int

Line number where moving breakpoints starts.

lineCount int

Number of lines to move.

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 int

Line to toggle.

Events

CollectionChanged

Occurs when a break point is added or removed.

public event NotifyCollectionChangedEventHandler CollectionChanged

Event Type

NotifyCollectionChangedEventHandler