Class QueryRange<T>

Container for items collection and a ItemRange instance describing how the collection was selected from the corresponding total collection.

Inheritance
System.Object
QueryRange<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Rest
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public class QueryRange<T>
Type Parameters
Name Description
T

Constructors

QueryRange(IEnumerable<T>, ItemRange)

Initializes a new instance and sets the items collection and the resulting range.

Declaration
public QueryRange(IEnumerable<T> items, ItemRange range)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> items

The items collection

ItemRange range

The resulting range

Properties

Items

The collection items.

Declaration
public ICollection<T> Items { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<T>
Remarks

Can be null!

Range

The resulting range

Declaration
public ItemRange Range { get; }
Property Value
Type Description
ItemRange