Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Class ItemRange

Inheritance
System.Object
ItemRange
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.Services.Rest
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class ItemRange

Constructors

ItemRange()

Declaration
public ItemRange()

Properties

End

Declaration
public int? End { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Length

Declaration
public long? Length { get; }
Property Value
Type Description
System.Nullable<System.Int64>

Start

Declaration
public int? Start { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Total

Declaration
public int? Total { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Methods

AddHeaderTo(HttpResponseBase)

Declaration
public void AddHeaderTo(HttpResponseBase httpResponse)
Parameters
Type Name Description
System.Web.HttpResponseBase httpResponse

ApplyTo<T>(IEnumerable<T>)

Declaration
public virtual RangedItems<T> ApplyTo<T>(IEnumerable<T> items)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> items
Returns
Type Description
RangedItems<T>
Type Parameters
Name Description
T

ApplyTo<T>(IEnumerable<T>, Nullable<Int32>)

Declaration
public virtual RangedItems<T> ApplyTo<T>(IEnumerable<T> items, int? totalItemCount)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> items
System.Nullable<System.Int32> totalItemCount
Returns
Type Description
RangedItems<T>
Type Parameters
Name Description
T

ApplyTo<T>(IQueryable<T>)

Declaration
public virtual RangedItems<T> ApplyTo<T>(IQueryable<T> items)
Parameters
Type Name Description
System.Linq.IQueryable<T> items
Returns
Type Description
RangedItems<T>
Type Parameters
Name Description
T

ApplyTo<T>(IQueryable<T>, Nullable<Int32>)

Declaration
public virtual RangedItems<T> ApplyTo<T>(IQueryable<T> items, int? totalItemCount)
Parameters
Type Name Description
System.Linq.IQueryable<T> items
System.Nullable<System.Int32> totalItemCount
Returns
Type Description
RangedItems<T>
Type Parameters
Name Description
T

ReadHeaderFrom(HttpRequestBase)

Declaration
public static ItemRange ReadHeaderFrom(HttpRequestBase httpRequest)
Parameters
Type Name Description
System.Web.HttpRequestBase httpRequest
Returns
Type Description
ItemRange

Extension Methods