CustomHooksOnBeforePublish Method |
This method is invoked before a Publishing Task is submitted
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux_API_Extensions_Development_Harness (in Ingeniux_API_Extensions_Development_Harness.dll) Version: 10.3.169
Syntax public void OnBeforePublish(
IPublishingTarget pubTarget,
bool fullPublish,
IEnumerable<PagePublishInfo> pagesToPublish,
IEnumerable<AssetPublishInfo> assetsToPublish,
IUserWriteSession session
)
Parameters
- pubTarget
- Type: IPublishingTarget
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: IUserWriteSession
The session that must be used to perform tasks on additional objects
Implements
IPublishHooks.OnBeforePublish(IPublishingTarget, Boolean, IEnumerablePagePublishInfo, IEnumerableAssetPublishInfo, IUserWriteSession)Remarks When this action is invoked, the objects involved have yet to be saved to the Content Store.
See Also