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);
 }
Example #2
0
 public void SerializeEnvelope(Stream stream, EnvelopeContract c)
 {
     Formatter.Serialize(stream, c);
 }
Example #3
0
 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);
 }
Example #5
0
 public void SerializeEnvelope(Stream stream, EnvelopeContract contract)
 {
     Serializer.Serialize(stream, contract);
 }
 public void SerializeEnvelope(Stream stream, EnvelopeContract c)
 {
     Serializer.Serialize(stream, c);
 }