Class SubscriptionPage<T>

The SubscriptionPage class represents a data structure which contains an enumerable list of subscriptions along with paging information that enables retrieving subsequent pages of subscriptions.

Inheritance
System.Object
SubscriptionPage<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.Social.ActivityStreams.Core
Assembly: EPiServer.Social.ActivityStreams.Core.dll
Version: 1.5.4
Syntax
public class SubscriptionPage<T>
Type Parameters
Name Description
T

Constructors

SubscriptionPage(IEnumerable<T>, PageInfo, Int32)

Constructor

Declaration
public SubscriptionPage(IEnumerable<T> subscriptions, PageInfo info, int totalCount)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> subscriptions

The list of subscriptions in this page.

PageInfo info

The page info for this page.

System.Int32 totalCount

The total count the query for this page would generate.

Properties

Info

Gets the page size and offset for the query that produced this page.

Declaration
public PageInfo Info { get; }
Property Value
Type Description
PageInfo

Subscriptions

Gets the subscriptions for the current page.

Declaration
public IEnumerable<T> Subscriptions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T>

TotalCount

Gets the total count of items comprising the result set for the query that produced this page.

Declaration
public int TotalCount { get; }
Property Value
Type Description
System.Int32
arrow_upward