Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Collects direct asset dependencies encountered by a serialization operation.

API: engine
Inherits: object
Project: Inno.Assets

public sealed class Inno.Assets.AssetDependencyCollection

Add this instance to a T:Inno.Core.Serialization.SerializationContext when serializing an asset source that must publish dependency metadata.

Kind Element Description
Constructors AssetDependencyCollection.Constructor (Method) Creates a dependency collector that preserves last-known source paths in serialized references.
Constructors AssetDependencyCollection.Constructor(System.Boolean) Creates a dependency collector with an explicit location-hint policy.
Methods AssetDependencyCollection.Add Includes a dependency already captured inside a neutral nested property payload.
Properties AssetDependencyCollection.dependencies Gets the collected dependencies in deterministic persistent-identity order.
Properties AssetDependencyCollection.includeLastKnownPaths Gets whether serialized asset references and collected dependencies retain source path hints.