skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class NormalizedSpanCollection

A collection of spans that are sorted by start position, // with adjacent and overlapping spans combined.

Inheritance
System.Object
System.Collections.ObjectModel.ReadOnlyCollection<Span>
NormalizedSpanCollection
Inherited Members
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Contains(Telerik.WinForms.SyntaxEditor.Core.Text.Span)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.CopyTo(Telerik.WinForms.SyntaxEditor.Core.Text.Span[], System.Int32)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.GetEnumerator()
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.IndexOf(Telerik.WinForms.SyntaxEditor.Core.Text.Span)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.IList<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.get_Item(System.Int32)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.IList<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.set_Item(System.Int32, Telerik.WinForms.SyntaxEditor.Core.Text.Span)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.ICollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Add(Telerik.WinForms.SyntaxEditor.Core.Text.Span)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.ICollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Clear()
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.IList<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Insert(System.Int32, Telerik.WinForms.SyntaxEditor.Core.Text.Span)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.ICollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Remove(Telerik.WinForms.SyntaxEditor.Core.Text.Span)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.IList<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.RemoveAt(System.Int32)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.Clear()
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.RemoveAt(System.Int32)
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Count
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Item[System.Int32]
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Items
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.ICollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.IsReadOnly
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.Generic.IList<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.Item[System.Int32]
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.IsFixedSize
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.ReadOnlyCollection<Telerik.WinForms.SyntaxEditor.Core.Text.Span>.System.Collections.IList.Item[System.Int32]
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinForms.SyntaxEditor.Core.Text
Assembly: Telerik.WinControls.SyntaxEditor.dll

Syntax

public class NormalizedSpanCollection : ReadOnlyCollection<Span>, IList<Span>, ICollection<Span>, IList, ICollection, IReadOnlyList<Span>, IReadOnlyCollection<Span>, IEnumerable<Span>, IEnumerable

Constructors

NormalizedSpanCollection()

Initializes a new instance of the NormalizedSpanCollection class.

Declaration
public NormalizedSpanCollection()

NormalizedSpanCollection(IEnumerable<Span>)

Initializes a new instance of the NormalizedSpanCollection class.

Declaration
public NormalizedSpanCollection(IEnumerable<Span> spans)
Parameters
System.Collections.Generic.IEnumerable<Span> spans

NormalizedSpanCollection(Span)

Initializes a new instance of the NormalizedSpanCollection class.

Declaration
public NormalizedSpanCollection(Span span)
Parameters
Span span

Methods

Difference(NormalizedSpanCollection, NormalizedSpanCollection)

Gets the difference instance between two instances of NormalizedSpanCollection.

Declaration
public static NormalizedSpanCollection Difference(NormalizedSpanCollection left, NormalizedSpanCollection right)
Parameters
NormalizedSpanCollection left

NormalizedSpanCollection right

Returns
NormalizedSpanCollection

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.Object.GetHashCode()

Intersection(NormalizedSpanCollection, NormalizedSpanCollection)

Intersects two NormalizedSpanCollection instances.

Declaration
public static NormalizedSpanCollection Intersection(NormalizedSpanCollection left, NormalizedSpanCollection right)
Parameters
NormalizedSpanCollection left

NormalizedSpanCollection right

Returns
NormalizedSpanCollection

IntersectsWith(NormalizedSpanCollection)

Checks if this instance intersects with other NormalizedSpanCollection instance.

Declaration
public bool IntersectsWith(NormalizedSpanCollection other)
Parameters
NormalizedSpanCollection other

Returns
System.Boolean

Overlap(NormalizedSpanCollection, NormalizedSpanCollection)

Overlaps two NormalizedSpanCollection instances.

Declaration
public static NormalizedSpanCollection Overlap(NormalizedSpanCollection left, NormalizedSpanCollection right)
Parameters
NormalizedSpanCollection left

NormalizedSpanCollection right

Returns
NormalizedSpanCollection

OverlapsWith(NormalizedSpanCollection)

Checks if this instance overlaps with other NormalizedSpanCollection instance.

Declaration
public bool OverlapsWith(NormalizedSpanCollection otherNormalizedCollection)
Parameters
NormalizedSpanCollection otherNormalizedCollection

Returns
System.Boolean

ToString()

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()

Union(NormalizedSpanCollection, NormalizedSpanCollection)

Unites two NormalizedSpanCollection instances.

Declaration
public static NormalizedSpanCollection Union(NormalizedSpanCollection left, NormalizedSpanCollection right)
Parameters
NormalizedSpanCollection left

NormalizedSpanCollection right

Returns
NormalizedSpanCollection

Operators

Equality(NormalizedSpanCollection, NormalizedSpanCollection)

Declaration
public static bool operator ==(NormalizedSpanCollection left, NormalizedSpanCollection right)
Parameters
NormalizedSpanCollection left

NormalizedSpanCollection right

Returns
System.Boolean

Inequality(NormalizedSpanCollection, NormalizedSpanCollection)

Declaration
public static bool operator !=(NormalizedSpanCollection left, NormalizedSpanCollection right)
Parameters
NormalizedSpanCollection left

NormalizedSpanCollection right

Returns
System.Boolean

Extension Methods

CommonExtensions.AddRange<T>(ICollection<T>, IEnumerable<T>)
CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.RemoveLast<T>(IList<T>)
CommonExtensions.EnsureListCountAtLeast<T>(IList<T>, Int32, Func<T>)
CommonExtensions.EnsureListCount<T>(IList<T>, Int32, Func<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.