C# Class Stash.Serializers.Binary.AggregateSurrogateSelector

A custom surrogate selector to enable serialisation and deserialisation of referenced to aggregate roots by internal id.
Inheritance: ISurrogateSelector
Afficher le fichier Open project: AndyHitchman/Stash

Méthodes publiques

Méthode Description
AggregateSurrogateSelector ( IRegisteredGraph registeredGraph ) : System
ChainSelector ( ISurrogateSelector selector ) : void
GetNextSelector ( ) : ISurrogateSelector
GetSurrogate ( Type type, StreamingContext context, ISurrogateSelector &selector ) : ISerializationSurrogate

Method Details

AggregateSurrogateSelector() public méthode

public AggregateSurrogateSelector ( IRegisteredGraph registeredGraph ) : System
registeredGraph IRegisteredGraph
Résultat System

ChainSelector() public méthode

public ChainSelector ( ISurrogateSelector selector ) : void
selector ISurrogateSelector
Résultat void

GetNextSelector() public méthode

public GetNextSelector ( ) : ISurrogateSelector
Résultat ISurrogateSelector

GetSurrogate() public méthode

public GetSurrogate ( Type type, StreamingContext context, ISurrogateSelector &selector ) : ISerializationSurrogate
type System.Type
context System.Runtime.Serialization.StreamingContext
selector ISurrogateSelector
Résultat ISerializationSurrogate