Synced
SerializationRegistry.CapturePropertyData
Section titled “SerializationRegistry.CapturePropertyData”
- Captures one persistent property as independently restorable neutral bytes without reading unrelated members.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Serialization
Declaration
Section titled “Declaration”public byte[] Inno.Core.Serialization.SerializationRegistry.CapturePropertyData(Inno.Core.Serialization.ISerializable value, string propertyName, Inno.Core.Serialization.SerializationContext? context = null)Parameters
Section titled “Parameters”Parameter value: The serializable object containing the requested property.
Parameter propertyName: The exact serialized member key to capture.
Parameter context: Optional immutable converter context.
Returns
Section titled “Returns”Neutral bytes containing the property name and encoded value.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when value is null.
Exception T:System.ArgumentException: Thrown when propertyName is empty or does not identify a persistent property.
Exception T:System.InvalidOperationException: Thrown when the manager is not initialized.