Class
IndexesCollection

Represents a custom collection of integer values, serving as a return type for RadGrid wrapper properties.

Definition

Namespace:Telerik.TestingFramework.Controls.KendoUI

Assembly:Telerik.TestingFramework.Controls.KendoUI.dll

Syntax:

cs-api-definition
public class IndexesCollection : Collection<int>, IList<int>, ICollection<int>, IList, ICollection, IReadOnlyList<int>, IReadOnlyCollection<int>, IEnumerable<int>, IEnumerable

Inheritance: objectCollection<int>IndexesCollection

Implements: ICollectionICollection<int>IEnumerableIEnumerable<int>IListIList<int>IReadOnlyCollection<int>IReadOnlyList<int>

Inherited Members Collection<int>.Add(int)Collection<int>.Clear()Collection<int>.CopyTo(int[], int)Collection<int>.Contains(int)Collection<int>.GetEnumerator()Collection<int>.IndexOf(int)Collection<int>.Insert(int, int)Collection<int>.Remove(int)Collection<int>.RemoveAt(int)Collection<int>.ClearItems()Collection<int>.InsertItem(int, int)Collection<int>.RemoveItem(int)Collection<int>.SetItem(int, int)Collection<int>.CountCollection<int>.ItemsCollection<int>.this[int]

Constructors

IndexesCollection()

Initializes a new instance of the IndexesCollection class.

Declaration

cs-api-definition
public IndexesCollection()

IndexesCollection(IList<int>)

Initializes a new instance of the IndexesCollection class. Serves as a wrapper for the specified list.

Declaration

cs-api-definition
public IndexesCollection(IList<int> list)

Parameters

list

IList<int>

IndexesCollection(int[])

Initializes a new instance of the IndexesCollection class. Serves as a wrapper for the specified int array.

Declaration

cs-api-definition
public IndexesCollection(int[] intArray)

Parameters

intArray

int[]

Methods

ConvertToString()

Converts the collection to comma separated string.

Declaration

cs-api-definition
public string ConvertToString()

Returns

string

InitializeCodeExpression()

Generates initialization code for the indexes collection.

Declaration

cs-api-definition
public string InitializeCodeExpression()

Returns

string

The initialization code for the indexes collection.

Matches(IndexesCollection)

Compares the items of the current collection with the passed one.

Declaration

cs-api-definition
public bool Matches(IndexesCollection indexesCollection)

Parameters

indexesCollection

IndexesCollection

The collection to compare.

Returns

bool

Whether the current collection items match those from the given collection.