Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Reads another source from the same candidate mount snapshot and records it as an import dependency.

API: engine
Project: Inno.Assets.Pipeline

public System.ReadOnlyMemory<byte> Inno.Assets.Pipeline.AssetImportContext.ReadSourceBytes(Inno.Assets.AssetPath path)

Parameter path: An isolated path whose mount dependency was declared when it crosses Plugin boundaries.

An immutable source snapshot owned by the import operation.

Exception T:System.InvalidOperationException: Thrown when the source crosses an undeclared mount boundary or references the writable Project from a Plugin.

Exception T:System.IO.FileNotFoundException: Thrown when the resolved source does not exist.