IAssetHooksOnAfterMarkForPublishAsset Method
|
This method is invoked after an Asset was marked/unmarked for publish.
Namespace:
Ingeniux.CMS.Models.Hooks
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax void OnAfterMarkForPublishAsset(
IAssetItem contentItem,
bool recursive,
IEnumerable<PublishingTargetWithMarkedVersion> markedTargets,
IEnumerable<IPublishingTarget> unmarkedTargets,
IUserWriteSession session
)
Sub OnAfterMarkForPublishAsset (
contentItem As IAssetItem,
recursive As Boolean,
markedTargets As IEnumerable(Of PublishingTargetWithMarkedVersion),
unmarkedTargets As IEnumerable(Of IPublishingTarget),
session As IUserWriteSession
)
void OnAfterMarkForPublishAsset(
IAssetItem^ contentItem,
bool recursive,
IEnumerable<PublishingTargetWithMarkedVersion^>^ markedTargets,
IEnumerable<IPublishingTarget^>^ unmarkedTargets,
IUserWriteSession^ session
)
abstract OnAfterMarkForPublishAsset :
contentItem : IAssetItem *
recursive : bool *
markedTargets : IEnumerable<PublishingTargetWithMarkedVersion> *
unmarkedTargets : IEnumerable<IPublishingTarget> *
session : IUserWriteSession -> unit
Parameters
- contentItem
- Type: Ingeniux.CMSIAssetItem
Content item that was marked/unmarked for publish. - recursive
- Type: SystemBoolean
Whether the action is recursive - markedTargets
- Type: System.Collections.GenericIEnumerablePublishingTargetWithMarkedVersion
The list of Publishing Targets that this content item was marked on. Includes marked versions for each Target - unmarkedTargets
- Type: System.Collections.GenericIEnumerableIPublishingTarget
The list of Publishing Targets that this content item was unmarked on. - 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