C# Class MongoDB.Bson.Serialization.Serializers.BitmapSerializer

Represents a serializer for Bitmaps.
Inheritance: MongoDB.Bson.Serialization.Serializers.BsonBaseSerializer
显示文件 Open project: CloudMetal/mongo-csharp-driver

Private Properties

Property Type Description
BitmapSerializer System

Public Methods

Method Description
Deserialize ( MongoDB.Bson.IO.BsonReader bsonReader, Type nominalType, Type actualType, IBsonSerializationOptions options ) : object

Deserializes an Bitmap from a BsonReader.

Serialize ( BsonWriter bsonWriter, Type nominalType, object value, IBsonSerializationOptions options ) : void

Serializes a Bitmap to a BsonWriter.

Private Methods

Method Description
BitmapSerializer ( ) : System

Method Details

Deserialize() public method

Deserializes an Bitmap from a BsonReader.
public Deserialize ( MongoDB.Bson.IO.BsonReader bsonReader, Type nominalType, Type actualType, IBsonSerializationOptions options ) : object
bsonReader MongoDB.Bson.IO.BsonReader The BsonReader.
nominalType System.Type The nominal type of the Bitmap.
actualType System.Type The actual type of the Bitmap.
options IBsonSerializationOptions The serialization options.
return object

Serialize() public method

Serializes a Bitmap to a BsonWriter.
public Serialize ( BsonWriter bsonWriter, Type nominalType, object value, IBsonSerializationOptions options ) : void
bsonWriter MongoDB.Bson.IO.BsonWriter The BsonWriter.
nominalType System.Type The nominal type.
value object The Bitmap.
options IBsonSerializationOptions The serialization options.
return void