Class
TagSpan<T>

Tag-Span couple.

Definition

Namespace:Telerik.Windows.SyntaxEditor.Core.Tagging

Assembly:Telerik.Windows.SyntaxEditor.Core.dll

Type Parameters:

T

Syntax:

cs-api-definition
public class TagSpan<T> where T : ITag

Inheritance: objectTagSpan<T>

Constructors

TagSpan(TextSnapshotSpan, T)

Initializes a new instance of the TagSpan<T> class.

Declaration

cs-api-definition
public TagSpan(TextSnapshotSpan textSnapshotSpan, T tag)

Parameters

textSnapshotSpan

TextSnapshotSpan

tag

T

Properties

SnapshotSpan

Gets the span.

Declaration

cs-api-definition
public TextSnapshotSpan SnapshotSpan { get; }

Property Value

TextSnapshotSpan

Tag

Gets the tag.

Declaration

cs-api-definition
public T Tag { get; }

Property Value

T