Click or drag to resize

SourceTextContainer Class



An object that contains an instance of an SourceText and raises events when its current instance changes.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.TextSourceTextContainer

Namespace:  Microsoft.CodeAnalysis.Text
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class SourceTextContainer

The SourceTextContainer type exposes the following members.

Constructors
  NameDescription
Protected methodSourceTextContainer
Initializes a new instance of the SourceTextContainer class
Top
Properties
  NameDescription
Public propertyCurrentText
The current text instance.
Top
Events
  NameDescription
Public eventTextChanged
Raised when the current text instance changes.
Top
Extension Methods
  NameDescription
Public Extension MethodGetTextBuffer (Defined by Extensions.)
Public Extension MethodTryGetTextBuffer (Defined by Extensions.)
Top
See Also