C# Class Domain.Design.JsonSerializationHelper

Afficher le fichier Open project: Lokad/lokad-cqrs-samples

Méthodes publiques

Méthode Description
Deserialize ( Type type, Stream stream ) : object
Serialize ( object value, Stream stream ) : void
SerializeAndFormat ( object value, Type type, Stream stream ) : void

Private Methods

Méthode Description
ReadText ( Stream stream ) : string
WriteText ( Stream stream, string text ) : void

Method Details

Deserialize() public static méthode

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

Serialize() public static méthode

public static Serialize ( object value, Stream stream ) : void
value object
stream Stream
Résultat void

SerializeAndFormat() public static méthode

public static SerializeAndFormat ( object value, Type type, Stream stream ) : void
value object
type System.Type
stream Stream
Résultat void