C# Class Stash.Engine.SerializationSession

Inheritance: ISerializationSession
Afficher le fichier Open project: AndyHitchman/Stash Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public GraphIsTracked ( InternalId internalId ) : bool
internalId InternalId
Résultat bool

InternalIdOfTrackedGraph() public méthode

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

RecordActiveDeserialization() public méthode

public RecordActiveDeserialization ( InternalId internalId, object graph ) : void
internalId InternalId
graph object
Résultat void

SerializationSession() public méthode

public SerializationSession ( Func getCurrentPersistenceEvents, IInternalSession internalSession, bool untracked ) : System
getCurrentPersistenceEvents Func
internalSession IInternalSession
untracked bool
Résultat System

TrackedGraphForInternalId() public méthode

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
Résultat object