Table of Contents

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

chronicler IChronicler

The active pass supplied to RecordData(IChronicler).

value T

The existing instance to write or populate. A missing or null entry leaves the target untouched.

name string

The stable field name shared by saving and loading.

Type Parameters

T

The 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.