Class ContentMoveActivity
An activity related to when a content item has been moved.
Inherited Members
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class ContentMoveActivity : ContentActivity
Constructors
ContentMoveActivity(ContentReference, Guid, Int32, String, ContentReference, Guid, ContentReference, Guid, String)
Initializes a new instance of the Content
Declaration
public ContentMoveActivity(ContentReference contentLink, Guid contentGuid, int contentTypeId, string name, ContentReference oldParent, Guid oldParentGuid, ContentReference newParent, Guid newParentGuid, string movedBy)
Parameters
Type | Name | Description |
---|---|---|
Content |
contentLink | The content reference of the content that the activity is related to. |
System. |
contentGuid | The unique identifier of the content that the activity is related to. |
System. |
contentTypeId | The content type of the content that the activity is related to. |
System. |
name | The name of the content that the activity is related to. |
Content |
oldParent | The content reference of the parent before the move. |
System. |
oldParentGuid | The unique identifier of the parent before the move. |
Content |
newParent | The content reference of new parent after the move. |
System. |
newParentGuid | The unique identifier of the new parent after the move. |
System. |
movedBy | The username of the user responsible for the content move. |
Properties
NewParent
Gets the Content
Declaration
public ContentReference NewParent { get; }
Property Value
Type | Description |
---|---|
Content |
NewParentGuid
Gets the unique identifier of the new parent after the move of the content.
Declaration
public Guid NewParentGuid { get; }
Property Value
Type | Description |
---|---|
System. |
OldParent
Gets the Content
Declaration
public ContentReference OldParent { get; }
Property Value
Type | Description |
---|---|
Content |
OldParentGuid
Gets the unique identifier of the parent before the move of the content.
Declaration
public Guid OldParentGuid { get; }
Property Value
Type | Description |
---|---|
System. |