TruncatedCollection<T> Class

 

Represents a class that truncates a collection to a given page size.

Namespace:   System.Web.OData.Query
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Collections.Generic.List<T>
    System.Web.OData.Query.TruncatedCollection<T>

Syntax

public class TruncatedCollection<T> : List<T>, ITruncatedCollection, 
    IEnumerable<T>, IEnumerable
generic<typename T>
public ref class TruncatedCollection : List<T>, ITruncatedCollection, 
    IEnumerable<T>, IEnumerable
type TruncatedCollection<'T> = 
    class
        inherit List<'T>
        interface ITruncatedCollection
        interface IEnumerable<'T>
        interface IEnumerable
    end
Public Class TruncatedCollection(Of T)
    Inherits List(Of T)
    Implements ITruncatedCollection, IEnumerable(Of T), IEnumerable

Type Parameters

  • T
    The collection element type.

Constructors

Name Description
System_CAPS_pubmethod TruncatedCollection<T>(IEnumerable<T>, Int32)

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

System_CAPS_pubmethod TruncatedCollection<T>(IQueryable<T>, Int32)

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

Properties

Name Description
System_CAPS_pubproperty Capacity

(Inherited from List<T>.)

System_CAPS_pubproperty Count

(Inherited from List<T>.)

System_CAPS_pubproperty IsTruncated

System_CAPS_pubproperty Item[Int32]

(Inherited from List<T>.)

System_CAPS_pubproperty PageSize

Methods

Name Description
System_CAPS_pubmethod Add(T)

(Inherited from List<T>.)

System_CAPS_pubmethod AddRange(IEnumerable<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod AsReadOnly()

(Inherited from List<T>.)

System_CAPS_pubmethod BinarySearch(T)

(Inherited from List<T>.)

System_CAPS_pubmethod BinarySearch(T, IComparer<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod BinarySearch(Int32, Int32, T, IComparer<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod Clear()

(Inherited from List<T>.)

System_CAPS_pubmethod Contains(T)

(Inherited from List<T>.)

System_CAPS_pubmethod ConvertAll<TOutput>(Converter<T, TOutput>)

(Inherited from List<T>.)

System_CAPS_pubmethod CopyTo(T[])

(Inherited from List<T>.)

System_CAPS_pubmethod CopyTo(T[], Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod CopyTo(Int32, T[], Int32, Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Exists(Predicate<T>)

(Inherited from List<T>.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod Find(Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod FindAll(Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod FindIndex(Int32, Int32, Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod FindIndex(Int32, Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod FindIndex(Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod FindLast(Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod FindLastIndex(Int32, Int32, Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod FindLastIndex(Int32, Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod FindLastIndex(Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod ForEach(Action<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from List<T>.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetRange(Int32, Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(T)

(Inherited from List<T>.)

System_CAPS_pubmethod IndexOf(T, Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod IndexOf(T, Int32, Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod Insert(Int32, T)

(Inherited from List<T>.)

System_CAPS_pubmethod InsertRange(Int32, IEnumerable<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod LastIndexOf(T)

(Inherited from List<T>.)

System_CAPS_pubmethod LastIndexOf(T, Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod LastIndexOf(T, Int32, Int32)

(Inherited from List<T>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Remove(T)

(Inherited from List<T>.)

System_CAPS_pubmethod RemoveAll(Predicate<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod RemoveRange(Int32, Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod Reverse()

(Inherited from List<T>.)

System_CAPS_pubmethod Reverse(Int32, Int32)

(Inherited from List<T>.)

System_CAPS_pubmethod Sort()

(Inherited from List<T>.)

System_CAPS_pubmethod Sort(Comparison<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod Sort(IComparer<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod Sort(Int32, Int32, IComparer<T>)

(Inherited from List<T>.)

System_CAPS_pubmethod ToArray()

(Inherited from List<T>.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TrimExcess()

(Inherited from List<T>.)

System_CAPS_pubmethod TrueForAll(Predicate<T>)

(Inherited from List<T>.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable<T>.GetEnumerator()

(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from List<T>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from List<T>.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Query Namespace

Return to top