Click or drag to resize

IContentItemHooksTOnBeforeAssign Method


Custom hook that fires before a Content Item is assigned.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void OnBeforeAssign(
	T contentItem,
	IUserWriteSession session
)

Parameters

contentItem
Type: T
Loaded Content Item.
session
Type: Ingeniux.CMSIUserWriteSession
IUserWriteSession in which the Content Item is loaded into.
See Also