public void SerializeEnvelope(Stream stream, EnvelopeContract c) { // we don't support c = new EnvelopeContract(c.EnvelopeId, c.EnvelopeAttributes, c.Messages, RestoreKindToUtc(c.DeliverOnUtc, DateTimeKind.Unspecified), RestoreKindToUtc(c.CreatedOnUtc, DateTimeKind.Unspecified)); JsonSerializer.SerializeToStream(c, stream); }
public void SerializeEnvelope(Stream stream, EnvelopeContract c) { Formatter.Serialize(stream, c); }
public void SerializeEnvelope(Stream stream, EnvelopeContract contract) { stream.Write(NL, 0, NL.Length); JsonSerializer.SerializeToStream(contract, stream); stream.Write(NL, 0, NL.Length); }
public void SerializeEnvelope(Stream stream, EnvelopeContract contract) { Formatter.Serialize(stream, contract); }
public void SerializeEnvelope(Stream stream, EnvelopeContract contract) { Serializer.Serialize(stream, contract); }
public void SerializeEnvelope(Stream stream, EnvelopeContract c) { Serializer.Serialize(stream, c); }