AvalonEdit
WeakLineTracker Class
NamespacesICSharpCode.AvalonEdit.DocumentWeakLineTracker
Allows registering a line tracker on a TextDocument using a weak reference from the document to the line tracker.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class WeakLineTracker : ILineTracker
Public NotInheritable Class WeakLineTracker _
	Implements ILineTracker
public ref class WeakLineTracker sealed : ILineTracker
Members
All MembersMethods



IconMemberDescription
Deregister()()()()
Deregisters the weak line tracker.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Register(TextDocument, ILineTracker)
Registers the targetTracker as line tracker for the textDocument. A weak reference to the target tracker will be used, and the WeakLineTracker will deregister itself when the target tracker is garbage collected.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
WeakLineTracker

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238