Click or drag to resize

IAssetHooksOnBeforeCrossLocaleCopyAsset Method


This method is invoked before a non-Region-Root Asset is copied to under another Region Root.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void OnBeforeCrossLocaleCopyAsset(
	IAssetItem sourcecontentItem,
	IAssetFolder targetcontentItem,
	IUserWriteSession session
)

Parameters

sourcecontentItem
Type: Ingeniux.CMSIAssetItem
The content item to be copied.
targetcontentItem
Type: Ingeniux.CMSIAssetFolder
The target reference location content item.
session
Type: Ingeniux.CMSIUserWriteSession
The session that must be used to perform tasks on additional objects.
Remarks
When this action is invoked, the objects involved have yet to be saved to the Content Store.
See Also