Interface ISlimSerializer
Marker interface for formats based on Slim algorithm family
Inherited Members
Namespace: Azos.Serialization.Slim
Assembly: Azos.dll
Syntax
public interface ISlimSerializer : ISerializer
Properties
BatchTypesAdded
Returns true if last call to Serialize or Deserialize in batch mode added more types to type registry. This call is only valid in TypeMode = "Batch" and is inherently not thread-safe
Declaration
bool BatchTypesAdded { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
TypeMode
Gets/sets how serializer handles type information between calls to Serialize/Deserialize. This property itself is not thread-safe, that is - it should be only set once by control/initiating thread
Declaration
TypeRegistryMode TypeMode { get; set; }
Property Value
Type | Description |
---|---|
TypeRegistryMode |
Methods
ResetCallBatch()
Resets type registry state to initial state (which is based on global types) for TypeMode = "Batch", otherwise does nothing
Declaration
void ResetCallBatch()