Interface IPersistenceContext
- Namespace
- Lime
- Assembly
- Lime.dll
public interface IPersistenceContext
Methods
AfterRead<T>(IPersistenceReadData, object)
void AfterRead<T>(IPersistenceReadData readData, object @object)
Parameters
readData
IPersistenceReadData
object
object
Type Parameters
T
BeforeRead<T>(Persistence, AbstractDeserializer, Stream, Format)
IPersistenceReadData BeforeRead<T>(Persistence persistence, AbstractDeserializer deserializer, Stream stream, Persistence.Format format)
Parameters
persistence
Persistence
deserializer
AbstractDeserializer
stream
Stream
format
Persistence.Format
Returns
- IPersistenceReadData
Type Parameters
T
BeforeWrite(Persistence, AbstractWriterSerializer, Stream, object, Format)
void BeforeWrite(Persistence persistence, AbstractWriterSerializer serializer, Stream stream, object @object, Persistence.Format format)
Parameters
persistence
Persistence
serializer
AbstractWriterSerializer
stream
Stream
object
object
format
Persistence.Format
StoreMetadata(object, List<Metadata>)
void StoreMetadata(object @object, List<Metadata> metadata)
Parameters
object
object
metadata
List<Metadata>
TryGetMetadata(object, out List<Metadata>)
bool TryGetMetadata(object @object, out List<Metadata> metadata)
Parameters
object
object
metadata
List<Metadata>
Returns
- bool