Class ContentImportingEventArgs

The argument passed in the event when a content is to be imported to EPiServer through a channel

Inheritance
System.Object
System.EventArgs
ContentImportingEventArgs
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.ContentChannels.Events
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class ContentImportingEventArgs : ChannelPreActionEvent

Constructors

ContentImportingEventArgs(String, String, IDictionary<String, String>, String, Guid, Guid, String)

Initializes a new instance of the ContentImportingEventArgs class.

Declaration
public ContentImportingEventArgs(string channelId, string contentName, IDictionary<string, string> propertyMappings, string contentTypeName, Guid parentId, Guid contentId, string cultureName)
Parameters
Type Name Description
System.String channelId

The channel id.

System.String contentName

Name of the page.

System.Collections.Generic.IDictionary<System.String, System.String> propertyMappings

A dictionary which represents the mapping between properties.

System.String contentTypeName

Name of the content type.

System.Guid parentId

The parent id.

System.Guid contentId

The page id.

System.String cultureName

Name of the culture.

Properties

ContentId

Gets or sets the content id.

Declaration
public Guid ContentId { get; set; }
Property Value
Type Description
System.Guid

The page id.

ContentName

Gets or sets the name of the content.

Declaration
public string ContentName { get; set; }
Property Value
Type Description
System.String

The name of the content.

ContentTypeName

Gets or sets the content type name.

Declaration
public string ContentTypeName { get; set; }
Property Value
Type Description
System.String

The content type name.

CultureName

Gets or sets the name of the culture for the content

Declaration
public string CultureName { get; set; }
Property Value
Type Description
System.String

The name of the culture.

ParentId

Gets or sets the parent id.

Declaration
public Guid ParentId { get; set; }
Property Value
Type Description
System.Guid

The parent id.

PropertyMappings

Gets the property mappings for the page properties

Declaration
public IDictionary<string, string> PropertyMappings { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

The property mappings.

Extension Methods