Class RecordDeep
- Namespace
- Chronicler
- Assembly
- Chronicler.dll
Helper for reading and writing nested recordable objects during a chronicler pass.
public static class RecordDeep
- Inheritance
-
RecordDeep
- Inherited Members
Methods
Look<T>(IChronicler, ref T, string)
Records an owned class instance.
public static void Look<T>(IChronicler chronicler, ref T value, string name) where T : class, IRecordable
Parameters
chroniclerIChroniclerThe active pass supplied to RecordData(IChronicler).
valueTThe existing instance to write or populate. A missing or null entry leaves the target untouched.
namestringThe stable field name shared by saving and loading.
Type Parameters
TThe declared type of the owned object.
Remarks
A present entry runs the schema on the existing target instance. A failure can leave that instance partly updated.
Exceptions
- InvalidOperationException
A present entry needs an instance, but the load target is null.