C# Class Stash.Engine.SerializationSession

Inheritance: ISerializationSession
Mostra file Open project: AndyHitchman/Stash Class Usage Examples

Public Methods

Method Description
GraphIsTracked ( InternalId internalId ) : bool
InternalIdOfTrackedGraph ( object graph ) : InternalId

Get the internal id of a graph if it is tracked.

RecordActiveDeserialization ( InternalId internalId, object graph ) : void
SerializationSession ( Func getCurrentPersistenceEvents, IInternalSession internalSession, bool untracked ) : System
TrackedGraphForInternalId ( InternalId internalId ) : object

Get the graph by internal id. If the graph is not tracked, it is fetched from the backing store and tracked.

Method Details

GraphIsTracked() public method

public GraphIsTracked ( InternalId internalId ) : bool
internalId InternalId
return bool

InternalIdOfTrackedGraph() public method

Get the internal id of a graph if it is tracked.
public InternalIdOfTrackedGraph ( object graph ) : InternalId
graph object
return InternalId

RecordActiveDeserialization() public method

public RecordActiveDeserialization ( InternalId internalId, object graph ) : void
internalId InternalId
graph object
return void

SerializationSession() public method

public SerializationSession ( Func getCurrentPersistenceEvents, IInternalSession internalSession, bool untracked ) : System
getCurrentPersistenceEvents Func
internalSession IInternalSession
untracked bool
return System

TrackedGraphForInternalId() public method

Get the graph by internal id. If the graph is not tracked, it is fetched from the backing store and tracked.
If the graph is not persisted in the backing store.
public TrackedGraphForInternalId ( InternalId internalId ) : object
internalId InternalId
return object