C# Class Eventing.EventSerializer

Inheritance: IEventSerializer
Afficher le fichier Open project: phillipknauss/CqrsSiteEngine Class Usage Examples

Méthodes publiques

Méthode Description
Deserialize ( Stream sourceStream, Type type ) : object
EventSerializer ( IEnumerable knownEventTypes ) : System
GetContentType ( string contractName ) : Type
Serialize ( object instance, Type type, Stream destinationStream ) : void

Method Details

Deserialize() public méthode

public Deserialize ( Stream sourceStream, Type type ) : object
sourceStream Stream
type System.Type
Résultat object

EventSerializer() public méthode

public EventSerializer ( IEnumerable knownEventTypes ) : System
knownEventTypes IEnumerable
Résultat System

GetContentType() public méthode

public GetContentType ( string contractName ) : Type
contractName string
Résultat System.Type

Serialize() public méthode

public Serialize ( object instance, Type type, Stream destinationStream ) : void
instance object
type System.Type
destinationStream Stream
Résultat void