TruncatedCollection<T> Class
Represents a class that truncates a collection to a given page size.
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Collections.Generic.List<T>
System.Web.Http.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 | |
---|---|---|
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. |
Properties
Name | Description | |
---|---|---|
Capacity | (Inherited from List<T>.) |
|
Count | (Inherited from List<T>.) |
|
IsTruncated | ||
Item[Int32] | (Inherited from List<T>.) |
|
PageSize |
Methods
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<T>.GetEnumerator() | (Inherited from List<T>.) |
|
ICollection.CopyTo(Array, Int32) | (Inherited from List<T>.) |
|
IEnumerable.GetEnumerator() | (Inherited from List<T>.) |
|
IList.Add(Object) | (Inherited from List<T>.) |
|
IList.Contains(Object) | (Inherited from List<T>.) |
|
IList.IndexOf(Object) | (Inherited from List<T>.) |
|
IList.Insert(Int32, Object) | (Inherited from List<T>.) |
|
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.Http.OData.Query Namespace
Return to top