Share via


TruncatedCollection<T> Class

Definition

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

public class TruncatedCollection<T> : System.Collections.Generic.List<T>, Microsoft.AspNet.OData.Query.ITruncatedCollection, System.Collections.Generic.IEnumerable<T>
type TruncatedCollection<'T> = class
    inherit List<'T>
    interface ITruncatedCollection
    interface IEnumerable
    interface seq<'T>
Public Class TruncatedCollection(Of T)
Inherits List(Of T)
Implements IEnumerable(Of T), ITruncatedCollection

Type Parameters

T

The collection element type.

Inheritance
List<T>
TruncatedCollection<T>
Implements

Constructors

TruncatedCollection<T>(IEnumerable<T>, Int32, Nullable<Int64>)

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

TruncatedCollection<T>(IEnumerable<T>, Int32)

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

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

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

TruncatedCollection<T>(IQueryable<T>, Int32, Nullable<Int64>, Boolean)

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

TruncatedCollection<T>(IQueryable<T>, Int32, Nullable<Int64>)

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

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

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

Properties

IsTruncated

Gets a value representing if the collection is truncated or not.

PageSize

Gets the page size the collection is truncated to.

TotalCount System.Collections.Generic.List`1.TotalCount

Applies to