Click or drag to resize

IPublishHooksOnBeforePublish Method


This method is invoked before a Publishing Task is submitted

Namespace: Ingeniux.CMS.Models.Hooks
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
void OnBeforePublish(
	IPublishingTarget pubTarget,
	bool fullPublish,
	IEnumerable<PagePublishInfo> pagesToPublish,
	IEnumerable<AssetPublishInfo> assetsToPublish,
	IUserWriteSession session
)

Parameters

pubTarget  IPublishingTarget
The Publishing Target that will submit the publish task
fullPublish  Boolean
Whether it will be a full or incremental publish
pagesToPublish  IEnumerablePagePublishInfo
Collection of information on Pages to be published
assetsToPublish  IEnumerableAssetPublishInfo
Collection of information on Assets to be published
session  IUserWriteSession
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