Class SubscriptionDescriptor

Definition of one subscription by a user.

Inheritance
System.Object
SubscriptionDescriptor
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.Personalization
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class SubscriptionDescriptor

Constructors

SubscriptionDescriptor()

Initializes a new instance of the SubscriptionDescriptor class.

Declaration
public SubscriptionDescriptor()

SubscriptionDescriptor(PageReference, List<String>)

Initializes the instance with specific Pagereference and languages

Declaration
public SubscriptionDescriptor(PageReference page, List<string> languages)
Parameters
Type Name Description
PageReference page

The page to subscribe to.

System.Collections.Generic.List<System.String> languages

The languages of the specified page that the subscription concerns.

Fields

Languages

A list of languages that the user is interested in for the specified page.

Declaration
public List<string> Languages
Field Value
Type Description
System.Collections.Generic.List<System.String>

PageID

The id of the page the user subscribes to.

Declaration
public int PageID
Field Value
Type Description
System.Int32

Extension Methods