Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Starts a private background sample clone without waiting for file copying or transformation.

API: engine
Project: Inno.Assets.Pipeline

public Inno.Assets.Pipeline.AssetSampleImportTransaction Inno.Assets.Pipeline.AssetPipeline.PrepareSampleImport(Inno.Assets.AssetPath source)

Parameter source: An indexed installed Plugin sample directory whose final segment starts with ~.

The generation-pinned transaction to advance, validate and commit on this pipeline’s owner thread.

Exception T:System.ArgumentException: The source is not an installed sample directory.

Exception T:System.IO.IOException: The destination name already exists.

Exception T:System.InvalidOperationException: Another mutation or generation transaction is active, or this is not the initialization thread.