Ejemplo n.º 1
0
 public object Clone()
 {
     return(MongoHelper.FromBson <Options>(MongoHelper.ToBson(this)));
 }
 public T DeserializeFrom <T>(byte[] bytes) where T : SerializerBinary
 {
     return(MongoHelper.FromBson <T>(bytes));
 }
 public T DeserializeFrom <T>(byte[] bytes, int index, int count) where T : SerializerBinary
 {
     return(MongoHelper.FromBson <T>(bytes, index, count));
 }
 public object DeserializeFrom(Type type, byte[] bytes, int index, int count)
 {
     return(MongoHelper.FromBson(type, bytes, index, count));
 }
 public object DeserializeFrom(Type type, byte[] bytes)
 {
     return(MongoHelper.FromBson(type, bytes));
 }
Ejemplo n.º 6
0
 public object Clone()
 {
     return(MongoHelper.FromBson(this.GetType(), this.ToBson()));
 }
Ejemplo n.º 7
0
 public T DeserializeFrom <T>(byte[] bytes, int index, int count)
 {
     return(MongoHelper.FromBson <T>(bytes, index, count));
 }
Ejemplo n.º 8
0
 public T DeserializeFrom <T>(byte[] bytes)
 {
     return(MongoHelper.FromBson <T>(bytes));
 }