Udostępnij za pośrednictwem


TruncatedCollection<T> Klasa

Definicja

Reprezentuje klasę, która obcina kolekcję do danego rozmiaru strony.

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

Parametry typu

T

Typ elementu kolekcji.

Dziedziczenie
List<T>
TruncatedCollection<T>
Implementuje

Konstruktory

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

Inicjuje nowe wystąpienie klasy TruncatedCollection<T>.

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

Inicjuje nowe wystąpienie klasy TruncatedCollection<T>.

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

Inicjuje nowe wystąpienie klasy TruncatedCollection<T>.

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

Inicjuje nowe wystąpienie klasy TruncatedCollection<T>.

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

Inicjuje nowe wystąpienie klasy TruncatedCollection<T>.

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

Inicjuje nowe wystąpienie klasy TruncatedCollection<T>.

Właściwości

IsTruncated

Pobiera wartość reprezentującą, jeśli kolekcja jest obcięta lub nie.

PageSize

Pobiera rozmiar strony, do który kolekcja jest obcięta.

TotalCount

Reprezentuje klasę, która obcina kolekcję do danego rozmiaru strony.

Dotyczy