C# Class MongoDB.Bson.Serialization.Options.BsonBaseSerializationOptions

Abstract base class for serialization options.
Inheritance: IBsonSerializationOptions
Afficher le fichier Open project: egametang/Egametang

Méthodes publiques

Méthode Description
ApplyAttribute ( IBsonSerializer serializer, Attribute attribute ) : void

Apply an attribute to these serialization options and modify the options accordingly.

BsonBaseSerializationOptions ( ) : System

Initializes a new instance of the BsonBaseSerializationOptions class.

Clone ( ) : IBsonSerializationOptions

Clones the serialization options.

Freeze ( ) : IBsonSerializationOptions

Freezes the serialization options.

Méthodes protégées

Méthode Description
EnsureNotFrozen ( ) : void

Ensures that this instance is not frozen.

Method Details

ApplyAttribute() public méthode

Apply an attribute to these serialization options and modify the options accordingly.
public ApplyAttribute ( IBsonSerializer serializer, Attribute attribute ) : void
serializer IBsonSerializer The serializer that these serialization options are for.
attribute System.Attribute The serialization options attribute.
Résultat void

BsonBaseSerializationOptions() public méthode

Initializes a new instance of the BsonBaseSerializationOptions class.
public BsonBaseSerializationOptions ( ) : System
Résultat System

Clone() public méthode

Clones the serialization options.
public Clone ( ) : IBsonSerializationOptions
Résultat IBsonSerializationOptions

EnsureNotFrozen() protected méthode

Ensures that this instance is not frozen.
protected EnsureNotFrozen ( ) : void
Résultat void

Freeze() public méthode

Freezes the serialization options.
public Freeze ( ) : IBsonSerializationOptions
Résultat IBsonSerializationOptions