Method | 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.
|
Method | 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. |
return | void |
protected abstract CreateInstance ( |
||
actualType | The actual type. | |
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 EnumerableSerializerBase ( IBsonSerializationOptions defaultSerializationOptions ) : System | ||
defaultSerializationOptions | IBsonSerializationOptions | |
return | System |
protected abstract EnumerateItemsInSerializationOrder ( object instance ) : IEnumerable | ||
instance | object | The instance. |
return | IEnumerable |
protected abstract FinalizeResult ( object instance, |
||
instance | object | The instance. |
actualType | The actual type. | |
return | object |
protected GetDiscriminator ( |
||
nominalType | Type nominal type. | |
actualType | The actual type. | |
return | string |
public GetItemSerializationInfo ( ) : BsonSerializationInfo | ||
return | BsonSerializationInfo |
public Serialize ( |
||
bsonWriter | The BsonWriter. | |
nominalType | The nominal type. | |
value | object | The object. |
options | IBsonSerializationOptions | The serialization options. |
return | void |