Sdílet prostřednictvím


TruncatedCollection<T> Konstruktory

Definice

Přetížení

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

public TruncatedCollection (System.Collections.Generic.IEnumerable<T> source, int pageSize);
new Microsoft.AspNet.OData.Query.TruncatedCollection<'T> : seq<'T> * int -> Microsoft.AspNet.OData.Query.TruncatedCollection<'T>
Public Sub New (source As IEnumerable(Of T), pageSize As Integer)

Parametry

source
IEnumerable<T>

Kolekce, která se má zkrátit.

pageSize
Int32

Velikost stránky.

Platí pro

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

public TruncatedCollection (System.Linq.IQueryable<T> source, int pageSize);
new Microsoft.AspNet.OData.Query.TruncatedCollection<'T> : System.Linq.IQueryable<'T> * int -> Microsoft.AspNet.OData.Query.TruncatedCollection<'T>
Public Sub New (source As IQueryable(Of T), pageSize As Integer)

Parametry

source
IQueryable<T>

Dotazovatelná kolekce, která se má zkrátit.

pageSize
Int32

Velikost stránky.

Platí pro

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

public TruncatedCollection (System.Collections.Generic.IEnumerable<T> source, int pageSize, long? totalCount);
new Microsoft.AspNet.OData.Query.TruncatedCollection<'T> : seq<'T> * int * Nullable<int64> -> Microsoft.AspNet.OData.Query.TruncatedCollection<'T>
Public Sub New (source As IEnumerable(Of T), pageSize As Integer, totalCount As Nullable(Of Long))

Parametry

source
IEnumerable<T>

Dotazovatelná kolekce, která se má zkrátit.

pageSize
Int32

Velikost stránky.

totalCount
Nullable<Int64>

Celkový počet.

Platí pro

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

public TruncatedCollection (System.Linq.IQueryable<T> source, int pageSize, bool parameterize);
new Microsoft.AspNet.OData.Query.TruncatedCollection<'T> : System.Linq.IQueryable<'T> * int * bool -> Microsoft.AspNet.OData.Query.TruncatedCollection<'T>
Public Sub New (source As IQueryable(Of T), pageSize As Integer, parameterize As Boolean)

Parametry

source
IQueryable<T>

Dotazovatelná kolekce, která se má zkrátit.

pageSize
Int32

Velikost stránky.

parameterize
Boolean

Příznak označující, jestli mají být konstanty parametrizovány

Platí pro

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

public TruncatedCollection (System.Linq.IQueryable<T> source, int pageSize, long? totalCount);
new Microsoft.AspNet.OData.Query.TruncatedCollection<'T> : System.Linq.IQueryable<'T> * int * Nullable<int64> -> Microsoft.AspNet.OData.Query.TruncatedCollection<'T>
Public Sub New (source As IQueryable(Of T), pageSize As Integer, totalCount As Nullable(Of Long))

Parametry

source
IQueryable<T>

Dotazovatelná kolekce, která se má zkrátit.

pageSize
Int32

Velikost stránky.

totalCount
Nullable<Int64>

Celkový počet.

Platí pro

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

Inicializuje novou instanci TruncatedCollection<T> třídy.

public TruncatedCollection (System.Linq.IQueryable<T> source, int pageSize, long? totalCount, bool parameterize);
new Microsoft.AspNet.OData.Query.TruncatedCollection<'T> : System.Linq.IQueryable<'T> * int * Nullable<int64> * bool -> Microsoft.AspNet.OData.Query.TruncatedCollection<'T>
Public Sub New (source As IQueryable(Of T), pageSize As Integer, totalCount As Nullable(Of Long), parameterize As Boolean)

Parametry

source
IQueryable<T>

Dotazovatelná kolekce, která se má zkrátit.

pageSize
Int32

Velikost stránky.

totalCount
Nullable<Int64>

Celkový počet.

parameterize
Boolean

Příznak označující, jestli mají být konstanty parametrizovány

Platí pro