Interface IChronicler
- Namespace
- Chronicler
- Assembly
- Chronicler.dll
Defines the common contract used by value and deep serialization helpers.
public interface IChronicler
Properties
Context
Gets the session context for the current chronicler pass.
ChronicleContext Context { get; }
Property Value
Mode
Gets the active serialization mode.
SerializationMode Mode { get; }
Property Value
Methods
LookDeepStruct<T>(ref T, string)
Reads or writes a nested recordable struct by name.
void LookDeepStruct<T>(ref T value, string name) where T : struct, IRecordable
Parameters
valueTnamestring
Type Parameters
T
LookDeep<T>(ref T, string)
Reads or writes a nested recordable instance by name.
void LookDeep<T>(ref T value, string name) where T : class, IRecordable
Parameters
valueTnamestring
Type Parameters
T
LookLink<T>(ref T, string, string?, RecordLinkResolveMode, Action<T>?)
Reads or writes a stable link to an external or runtime-owned value by name.
void LookLink<T>(ref T value, string name, string? slot = null, RecordLinkResolveMode resolveMode = RecordLinkResolveMode.Immediate, Action<T>? assignLoadedValue = null)
Parameters
valueTnamestringslotstringresolveModeRecordLinkResolveModeassignLoadedValueAction<T>
Type Parameters
T
LookNullableDeep<T>(ref T?, string)
Reads or writes an optional nested recordable struct by name.
void LookNullableDeep<T>(ref T? value, string name) where T : struct, IRecordable
Parameters
valueT?namestring
Type Parameters
T
LookValue<T>(ref T, string, T?)
Reads or writes a value by name.
void LookValue<T>(ref T value, string name, T? defaultValue = default)
Parameters
valueTnamestringdefaultValueT
Type Parameters
T