Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Claims an unowned asset or commits new runtime state to an already owned instance.

API: engine
Project: Inno.Assets

public void Inno.Assets.AssetRuntimeOwner.Initialize(Inno.Assets.AssetObject asset, Inno.Assets.AssetPath assetPath, string sourceHash, System.ReadOnlyMemory<byte> payload, bool isMissing, long version)

Parameter asset: The instance to initialize; ownership cannot be transferred between databases.

Parameter assetPath: The current mount-qualified source path.

Parameter sourceHash: The immutable source fingerprint.

Parameter payload: Runtime bytes copied before publication.

Parameter isMissing: Whether the preserved reference is currently unavailable.

Parameter version: The current content revision used to invalidate runtime caches.

Exception T:System.InvalidOperationException: The asset belongs to a different owner.