Méthode | Description | |
---|---|---|
Deserialize ( MongoDB.Bson.IO.BsonReader bsonReader, |
Deserializes an object from a BsonReader.
|
|
EnumerableSerializerBase ( IBsonSerializationOptions defaultSerializationOptions ) : System |
Initializes a new instance of the EnumerableSerializerBase class.
|
|
GetItemSerializationInfo ( ) : BsonSerializationInfo |
Gets the serialization info for individual items of an enumerable type.
|
|
Serialize ( |
Serializes an object to a BsonWriter.
|
Méthode | Description | |
---|---|---|
AddItem ( object instance, object item ) : void |
Adds the item.
|
|
CreateInstance ( |
Creates the instance.
|
|
EnumerateItemsInSerializationOrder ( object instance ) : IEnumerable |
Enumerates the items.
|
|
FinalizeResult ( object instance, |
Finalizes the result.
|
|
GetDiscriminator ( |
Gets the discriminator.
|
protected abstract AddItem ( object instance, object item ) : void | ||
instance | object | The instance. |
item | object | The item. |
Résultat | void |
protected abstract CreateInstance ( |
||
actualType | The actual type. | |
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 EnumerableSerializerBase ( IBsonSerializationOptions defaultSerializationOptions ) : System | ||
defaultSerializationOptions | IBsonSerializationOptions | |
Résultat | System |
protected abstract EnumerateItemsInSerializationOrder ( object instance ) : IEnumerable | ||
instance | object | The instance. |
Résultat | IEnumerable |
protected abstract FinalizeResult ( object instance, |
||
instance | object | The instance. |
actualType | The actual type. | |
Résultat | object |
protected GetDiscriminator ( |
||
nominalType | Type nominal type. | |
actualType | The actual type. | |
Résultat | string |
public GetItemSerializationInfo ( ) : BsonSerializationInfo | ||
Résultat | BsonSerializationInfo |
public Serialize ( |
||
bsonWriter | The BsonWriter. | |
nominalType | The nominal type. | |
value | object | The object. |
options | IBsonSerializationOptions | The serialization options. |
Résultat | void |