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.308
Syntax void OnBeforePublish(
IPublishingTarget pubTarget,
bool fullPublish,
IEnumerable<PagePublishInfo> pagesToPublish,
IEnumerable<AssetPublishInfo> assetsToPublish,
IUserWriteSession session
)
Sub OnBeforePublish (
pubTarget As IPublishingTarget,
fullPublish As Boolean,
pagesToPublish As IEnumerable(Of PagePublishInfo),
assetsToPublish As IEnumerable(Of AssetPublishInfo),
session As IUserWriteSession
)
void OnBeforePublish(
IPublishingTarget^ pubTarget,
bool fullPublish,
IEnumerable<PagePublishInfo^>^ pagesToPublish,
IEnumerable<AssetPublishInfo^>^ assetsToPublish,
IUserWriteSession^ session
)
abstract OnBeforePublish :
pubTarget : IPublishingTarget *
fullPublish : bool *
pagesToPublish : IEnumerable<PagePublishInfo> *
assetsToPublish : IEnumerable<AssetPublishInfo> *
session : IUserWriteSession -> unit
Parameters
- pubTarget
- Type: Ingeniux.CMSIPublishingTarget
The Publishing Target that will submit the publish task - fullPublish
- Type: SystemBoolean
Whether it will be a full or incremental publish - pagesToPublish
- Type: System.Collections.GenericIEnumerablePagePublishInfo
Collection of information on Pages to be published - assetsToPublish
- Type: System.Collections.GenericIEnumerableAssetPublishInfo
Collection of information on Assets to be published - 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