Struct Recorder.Parameters
- Namespace
- Dec
- Assembly
- dec.dll
public struct Recorder.Parameters
- Inherited Members
Properties
Mode
Indicates whether this Recorder is being used for reading or writing.
public Recorder.Direction Mode { get; }
Property Value
Methods
Bespoke_KeyTypeDict()
Informs the recorder system that the next parameter will be a Dictionary<Type, V> where the key should be interpreted as the type of the V.
public Recorder.Parameters Bespoke_KeyTypeDict()
Returns
Remarks
/// See Dec.Recorder.Bespoke_KeyTypeDict
for details.
RecordAsThis<T>(ref T)
Serialize or deserialize a member of a class as if it were this class.
public void RecordAsThis<T>(ref T value)
Parameters
value
T
Type Parameters
T
Remarks
See Dec.Recorder.RecordAsThis
for details.
Record<T>(ref T, string)
Serialize or deserialize a member of a class.
public void Record<T>(ref T value, string label)
Parameters
value
Tlabel
string
Type Parameters
T
Remarks
See Dec.Recorder.Record
for details.
Shared()
Allow sharing for class objects referenced during this call.
public Recorder.Parameters Shared()
Returns
Remarks
See Dec.Recorder.Shared
for details.
WithFactory(Dictionary<Type, Func<Type, object>>)
Add a factory layer to objects created during this call.
public Recorder.Parameters WithFactory(Dictionary<Type, Func<Type, object>> factories)
Parameters
factories
Dictionary<Type, Func<Type, object>>
Returns
Remarks
See Dec.Recorder.WithFactory
for details.