Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an isolated source-mount and catalog candidate without changing the active catalog.

API: engine
Project: Inno.Assets.Pipeline

public Inno.Assets.Pipeline.AssetCatalogCandidate Inno.Assets.Pipeline.AssetLoader.PrepareCatalogCandidate(System.Collections.Generic.IReadOnlyList<Inno.Assets.Pipeline.AssetSourceMount> mounts, Inno.Assets.Pipeline.AssetSourcePolicy? sourcePolicy = null)

Parameter mounts: The complete source-mount snapshot to validate.

Parameter sourcePolicy: The source policy for the candidate, or null to reuse this loader’s policy.

A candidate that owns its catalog staging storage and exposes the isolated loader to its owner.

Exception T:System.ArgumentException: Thrown when the mount snapshot is empty, duplicated, or has no writable project source.

Exception T:System.IO.IOException: Thrown when the active catalog cannot be copied into candidate storage.