Method | Description | |
---|---|---|
BsonIBsonSerializableSerializer ( ) : System |
Initializes a new instance of the BsonIBsonSerializableSerializer class.
|
|
Deserialize ( MongoDB.Bson.IO.BsonReader bsonReader, |
Deserializes an object from a BsonReader.
|
|
Deserialize ( MongoDB.Bson.IO.BsonReader bsonReader, |
Deserializes an object from a BsonReader.
|
|
GetDefaultSerializationOptions ( ) : IBsonSerializationOptions |
Gets the default serialization options for this serializer.
|
|
GetDocumentId ( object document, object &id, |
Gets the document Id.
|
|
Serialize ( |
Serializes an object to a BsonWriter.
|
|
SetDocumentId ( object document, object id ) : void |
Sets the document Id.
|
public BsonIBsonSerializableSerializer ( ) : System | ||
return | System |
public Deserialize ( MongoDB.Bson.IO.BsonReader bsonReader, |
||
bsonReader | MongoDB.Bson.IO.BsonReader | The BsonReader. |
nominalType | The nominal type of the object. | |
options | IBsonSerializationOptions | The serialization options. |
return | object |
public Deserialize ( MongoDB.Bson.IO.BsonReader bsonReader, |
||
bsonReader | MongoDB.Bson.IO.BsonReader | The BsonReader. |
nominalType | The nominal type of the object. | |
actualType | The actual type of the object. | |
options | IBsonSerializationOptions | The serialization options. |
return | object |
public GetDefaultSerializationOptions ( ) : IBsonSerializationOptions | ||
return | IBsonSerializationOptions |
public GetDocumentId ( object document, object &id, |
||
document | object | The document. |
id | object | The Id. |
idNominalType | The nominal type of the Id. | |
idGenerator | IIdGenerator | The IdGenerator for the Id type. |
return | bool |
public Serialize ( |
||
bsonWriter | The BsonWriter. | |
nominalType | The nominal type. | |
value | object | The object. |
options | IBsonSerializationOptions | The serialization options. |
return | void |
public SetDocumentId ( object document, object id ) : void | ||
document | object | The document. |
id | object | The Id. |
return | void |