Exemple #1
0
 public Document <T> ToDocument <T>()
 {
     return(new Document <T>
     {
         Charset = Charset.FromBytes(),
         ContentEncoding = ContentEncoding.FromBytes(),
         ContentType = ContentType.FromBytes(),
         LastModified = LastMod,
         LastModifiedInSeconds = LastModSecs,
         Value = Value.FromProtocolBuffer <T>(),
         VectorClock = VectorClock.FromBytes()
     });
 }