SaaS CMS has officially launched! Learn more now.

Class ProjectContentActivity

An activity entry that will be added to the activity log when a content related activity happens in a project.

Inheritance
System.Object
ProjectContentActivity
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.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public abstract class ProjectContentActivity : ProjectActivity

Constructors

ProjectContentActivity(ProjectActionType, Int32, ContentReference, CultureInfo)

Initializes a new instance of the ProjectContentActivity class.

Declaration
protected ProjectContentActivity(ProjectActionType action, int projectId, ContentReference contentLink, CultureInfo language)
Parameters
Type Name Description
ProjectActionType action

The action that has taken place.

System.Int32 projectId

The project identifier where content was related to.

ContentReference contentLink

The content reference of the content that was added to the project.

System.Globalization.CultureInfo language

The language of the content that was added to the project.

Properties

Gets a reference to the related content.

Declaration
public ContentReference ContentLink { get; }
Property Value
Type Description
ContentReference

Language

Gets the language version for the related content instance.

Declaration
public CultureInfo Language { get; }
Property Value
Type Description
System.Globalization.CultureInfo

Extension Methods