Click or drag to resize

IContentItemHooksTOnAfterMarkForPublish Method


Custom hook that fires after a Content Item has its marking changed.

Namespace: Ingeniux.CMS.Models.Hooks
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void OnAfterMarkForPublish(
	T contentItem,
	bool recursive,
	IEnumerable<PublishingTargetWithMarkedVersion> markedTargets,
	IEnumerable<IPublishingTarget> unmarkedTargets,
	IUserWriteSession session
)

Parameters

contentItem  T
Loaded Content Item. Edits will be lost if permanent is True.
recursive  Boolean
True if the Mark for Publish operation includes descendants.
markedTargets  IEnumerablePublishingTargetWithMarkedVersion
Collection of data describing the publishing targets that are being marked as well as the marked version number.
unmarkedTargets  IEnumerableIPublishingTarget
Collection of publishing targets that are being unmarked.
session  IUserWriteSession
IUserWriteSession in which the Content Item is loaded into.
See Also