Méthode | 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.
|
Méthode | 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. |
Résultat | 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. |
Résultat | 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. |
Résultat | object |
public GetDefaultSerializationOptions ( ) : IBsonSerializationOptions | ||
Résultat | 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. |
Résultat | bool |
public GetMemberSerializationInfo ( string memberName ) : |
||
memberName | string | The member name. |
Résultat |
public Serialize ( |
||
bsonWriter | The BsonWriter. | |
nominalType | The nominal type. | |
value | object | The object. |
options | IBsonSerializationOptions | The serialization options. |
Résultat | void |
public SetDocumentId ( object document, object id ) : void | ||
document | object | The document. |
id | object | The Id. |
Résultat | void |