IAssetFileContentManipulatorPreSaveProcess Method
|
Action to manipulate the passed in stream, and return a new stream with manipulated content.
It is called before AssetVersion save and asset check in.
Namespace:
Ingeniux.CMS.AssetContent
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax AssetManipulatedStream PreSaveProcess(
IAsset asset,
IAssetVersion assetVersion,
Stream assetContent
)
Function PreSaveProcess (
asset As IAsset,
assetVersion As IAssetVersion,
assetContent As Stream
) As AssetManipulatedStream
AssetManipulatedStream^ PreSaveProcess(
IAsset^ asset,
IAssetVersion^ assetVersion,
Stream^ assetContent
)
abstract PreSaveProcess :
asset : IAsset *
assetVersion : IAssetVersion *
assetContent : Stream -> AssetManipulatedStream
Parameters
- asset
- Type: Ingeniux.CMSIAsset
Owner asset of the stream to be manipulated - assetVersion
- Type: Ingeniux.CMSIAssetVersion
Owner asset version of the stream to be manipulated - assetContent
- Type: System.IOStream
Asset content stream to manipulation
Return Value
Type:
AssetManipulatedStreamStream of manipulated content
See Also