Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

SerializationRegistry.CapturePropertiesData

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

API: engine
Project: Inno.Core.Serialization

public byte[] Inno.Core.Serialization.SerializationRegistry.CapturePropertiesData(Inno.Core.Serialization.ISerializable value, Inno.Core.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.