Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Exports the validated runtime artifact closure while observing cooperative cancellation between files.

API: engine
Project: Inno.Assets.Pipeline

public Inno.Assets.AssetRuntimeContentInfo Inno.Assets.Pipeline.AssetLoader.ExportRuntimeArtifacts(string destinationLibraryRoot, System.Threading.CancellationToken cancellationToken)

Parameter destinationLibraryRoot: The empty directory that receives the runtime-only asset database.

Parameter cancellationToken: The token checked before every artifact file is copied.

Counts and source identities represented by the exported snapshot.

Exception T:System.InvalidOperationException: Thrown when artifacts are incomplete or transitive source inputs no longer certify the imported snapshot.

Exception T:System.OperationCanceledException: Thrown when cancellation is requested before the snapshot finishes.