Class MoveContentEventArgs
Event arguments passed from IContentRepository for content move related events.
Inherited Members
System.EventArgs.Empty
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
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class MoveContentEventArgs : ContentEventArgs
Constructors
MoveContentEventArgs(ContentReference, ContentReference)
Initializes a new instance of the MoveContentEventArgs class.
Declaration
public MoveContentEventArgs(ContentReference contentLink, ContentReference destinationLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The page link. |
ContentReference | destinationLink | The destination link. |
Properties
Descendents
Gets or sets a list of references to any descendents that will also be affected by the move operation.
Declaration
public IEnumerable<ContentReference> Descendents { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ContentReference> |
OriginalContentLink
Gets the original (before move) reference for the Content that is being moved.
Declaration
public ContentReference OriginalContentLink { get; }
Property Value
Type | Description |
---|---|
ContentReference | The previous content reference. |
OriginalParent
Gets or sets the original (before move) parent for ContentLink
Declaration
public ContentReference OriginalParent { get; set; }
Property Value
Type | Description |
---|---|
ContentReference | The previous parent. |