Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced

SerializationRegistry.CapturePropertiesData

Section titled “SerializationRegistry.CapturePropertiesData”
  • Captures every persistent property as neutral bytes without serializing the owning object graph.

API: scripting
Project: Inno.Core.Serialization
Scope: Editor

public byte[] InnoEngine.Serialization.SerializationRegistry.CapturePropertiesData(InnoEngine.Serialization.ISerializable value, InnoEngine.Serialization.SerializationContext? context = null)

Parameter value: The serializable object whose persistent properties should be captured.

Parameter context: Optional immutable converter context.

Strictly validated bytes containing independently encoded property values.

Exception T:System.ArgumentNullException: Thrown when value is null.

Exception T:System.InvalidOperationException: Thrown when the manager is not initialized.