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

Represents a serializer for Bitmaps.
Inheritance: MongoDB.Bson.Serialization.Serializers.BsonBaseSerializer
Afficher le fichier Open project: CloudMetal/mongo-csharp-driver

Private Properties

Свойство Type Description
BitmapSerializer System

Méthodes publiques

Méthode 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

Méthode Description
BitmapSerializer ( ) : System

Method Details

Deserialize() public méthode

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.
Résultat object

Serialize() public méthode

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.
Résultat void