AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

BusinessObjectHelper..::..PublishObject<(Of <(<'T>)>)> Method (ActionArgs, T)

Publishes the object. For use in BusinessObject events (PrePublish, PostPublish, PreSaveDraft, PostSaveDraft, etc.)

Namespace:  AdvantageCMS.Core.Common.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public ToolHelperResult PublishObject<T>(
	ActionArgs e,
	T businessObject
)
where T : BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>

Type Parameters

T
the Object to Publish

Parameters

e
Type: AdvantageCMS.Core.Admin.Event..::..ActionArgs
Action Arguments
businessObject
Type: T
The business object.

Return Value

ToolHelperResult.