TruncatedCollection<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TruncatedCollection<T>(IEnumerable<T>, Int32) |
Initializes a new instance of the TruncatedCollection<T> class. |
TruncatedCollection<T>(IQueryable<T>, Int32) |
Initializes a new instance of the TruncatedCollection<T> class. |
TruncatedCollection<T>(IEnumerable<T>, Int32, Nullable<Int64>) |
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>) |
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>(IEnumerable<T>, Int32)
Initializes a new instance of the TruncatedCollection<T> class.
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)
Parameters
- source
- IEnumerable<T>
The collection to be truncated.
- pageSize
- Int32
The page size.
Applies to
TruncatedCollection<T>(IQueryable<T>, Int32)
Initializes a new instance of the TruncatedCollection<T> class.
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)
Parameters
- source
- IQueryable<T>
The queryable collection to be truncated.
- pageSize
- Int32
The page size.
Applies to
TruncatedCollection<T>(IEnumerable<T>, Int32, Nullable<Int64>)
Initializes a new instance of the TruncatedCollection<T> class.
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))
Parameters
- source
- IEnumerable<T>
The queryable collection to be truncated.
- pageSize
- Int32
The page size.
Applies to
TruncatedCollection<T>(IQueryable<T>, Int32, Boolean)
Initializes a new instance of the TruncatedCollection<T> class.
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)
Parameters
- source
- IQueryable<T>
The queryable collection to be truncated.
- pageSize
- Int32
The page size.
- parameterize
- Boolean
Flag indicating whether constants should be parameterized
Applies to
TruncatedCollection<T>(IQueryable<T>, Int32, Nullable<Int64>)
Initializes a new instance of the TruncatedCollection<T> class.
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))
Parameters
- source
- IQueryable<T>
The queryable collection to be truncated.
- pageSize
- Int32
The page size.
Applies to
TruncatedCollection<T>(IQueryable<T>, Int32, Nullable<Int64>, Boolean)
Initializes a new instance of the TruncatedCollection<T> class.
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)
Parameters
- source
- IQueryable<T>
The queryable collection to be truncated.
- pageSize
- Int32
The page size.
- parameterize
- Boolean
Flag indicating whether constants should be parameterized