Click or drag to resize

IPageHooksOnAfterRegionRootCopy Method


Custom hook that fires after a Region Root is lingually copied.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void OnAfterRegionRootCopy(
	IPage sourcecontentItem,
	IPage newcontentItem,
	IPage targetcontentItem,
	EnumCopyActions relation,
	string targetLocale,
	ILingualPageMap[] lingualMaps,
	IUserWriteSession session
)

Parameters

sourcecontentItem
Type: Ingeniux.CMSIPage
Source Region Root being copied.
newcontentItem
Type: Ingeniux.CMSIPage
Newly pasted Region Root.
targetcontentItem
Type: Ingeniux.CMSIPage
Target Region Root location, either parent or sibling to the new page.
relation
Type: Ingeniux.CMS.EnumsEnumCopyActions
Contains information about what relation the new Region Root will have to the targetcontentItem.
targetLocale
Type: SystemString

[Missing <param name="targetLocale"/> documentation for "M:Ingeniux.CMS.Models.Hooks.IPageHooks.OnAfterRegionRootCopy(Ingeniux.CMS.IPage,Ingeniux.CMS.IPage,Ingeniux.CMS.IPage,Ingeniux.CMS.Enums.EnumCopyActions,System.String,Ingeniux.CMS.ILingualPageMap[],Ingeniux.CMS.IUserWriteSession)"]

lingualMaps
Type: Ingeniux.CMSILingualPageMap

[Missing <param name="lingualMaps"/> documentation for "M:Ingeniux.CMS.Models.Hooks.IPageHooks.OnAfterRegionRootCopy(Ingeniux.CMS.IPage,Ingeniux.CMS.IPage,Ingeniux.CMS.IPage,Ingeniux.CMS.Enums.EnumCopyActions,System.String,Ingeniux.CMS.ILingualPageMap[],Ingeniux.CMS.IUserWriteSession)"]

session
Type: Ingeniux.CMSIUserWriteSession
IUserWriteSession in which the Region Root is loaded in.
See Also