Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class SortingElementCollection

Inheritance
System.Object
SortingElementCollection
Namespace: Mediachase.BusinessFoundation.Data
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0
Syntax
public class SortingElementCollection : Collection<SortingElement>

Constructors

SortingElementCollection()

Initializes a new instance of the SortingElementCollection class.

Declaration
public SortingElementCollection()

SortingElementCollection(SortingElement[])

Initializes a new instance of the SortingElementCollection class.

Declaration
public SortingElementCollection(params SortingElement[] items)
Parameters
Type Name Description
SortingElement[] items

The items.

Methods

AddRange(SortingElement[])

Adds the range.

Declaration
public void AddRange(SortingElement[] items)
Parameters
Type Name Description
SortingElement[] items

The items.

AddRange(SortingElementCollection)

Adds the range.

Declaration
public void AddRange(SortingElementCollection sorts)
Parameters
Type Name Description
SortingElementCollection sorts

The sorts.

ContainsAny(SortingElement)

Determines whether the specified sorting contains any.

Declaration
public bool ContainsAny(SortingElement sorting)
Parameters
Type Name Description
SortingElement sorting

The sorting.

Returns
Type Description
System.Boolean

true if the specified sorting contains any; otherwise, false.

ContainsAny(String)

Determines whether the specified sorting source contains any.

Declaration
public bool ContainsAny(string sortingSource)
Parameters
Type Name Description
System.String sortingSource

The sorting source.

Returns
Type Description
System.Boolean

true if the specified sorting source contains any; otherwise, false.

ToArray()

Toes the array.

Declaration
public SortingElement[] ToArray()
Returns
Type Description
SortingElement[]