Method | Description | |
---|---|---|
BsonClassMapSerializer ( BsonClassMap classMap ) : System |
Initializes a new instance of the BsonClassMapSerializer 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 |
Get the default serialization options for this serializer.
|
|
GetDocumentId ( object document, object &id, |
Gets the document Id.
|
|
GetMemberSerializationInfo ( string memberName ) : |
Gets the serialization info for a member.
|
|
Serialize ( |
Serializes an object to a BsonWriter.
|
|
SetDocumentId ( object document, object id ) : void |
Sets the document Id.
|
Method | Description | |
---|---|---|
ChooseBestCreator ( object>.Dictionary |
||
CreateInstanceUsingCreator ( object>.Dictionary |
||
DeserializeExtraElement ( MongoDB.Bson.IO.BsonReader bsonReader, object obj, string elementName, |
||
DeserializeMemberValue ( MongoDB.Bson.IO.BsonReader bsonReader, |
||
SerializeExtraElements ( |
||
SerializeMember ( |
||
VerifyNominalType ( |
public BsonClassMapSerializer ( BsonClassMap classMap ) : System | ||
classMap | BsonClassMap | The class map. |
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 GetMemberSerializationInfo ( string memberName ) : |
||
memberName | string | The member name. |
return |
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 |