Example #1
0
 public byte[] SerializeTo(object obj)
 {
     return(MongoHelper.ToBson(obj));
 }
Example #2
0
 public void SerializeTo(object obj, MemoryStream stream)
 {
     MongoHelper.ToBson(obj, stream);
 }
Example #3
0
 protected void PublishProperty(string name, Vector3 value)
 {
     PublishProperty(name, MongoHelper.ToBson(value));
 }