C# Class MongoDB.Bson.Serialization.Conventions.TypeRepresentationSerializationOptionsConvention

Inheritance: ISerializationOptionsConvention
Afficher le fichier Open project: egametang/Egametang

Méthodes publiques

Méthode Description
GetSerializationOptions ( MemberInfo memberInfo ) : IBsonSerializationOptions

Gets the BSON serialization options for a member.

TypeRepresentationSerializationOptionsConvention ( Type type, BsonType representation ) : System

Initializes a new instance of the TypeRepresentationSerializationOptionsConvention class.

Method Details

GetSerializationOptions() public méthode

Gets the BSON serialization options for a member.
public GetSerializationOptions ( MemberInfo memberInfo ) : IBsonSerializationOptions
memberInfo System.Reflection.MemberInfo The member.
Résultat IBsonSerializationOptions

TypeRepresentationSerializationOptionsConvention() public méthode

Initializes a new instance of the TypeRepresentationSerializationOptionsConvention class.
public TypeRepresentationSerializationOptionsConvention ( Type type, BsonType representation ) : System
type System.Type The type of the member.
representation BsonType The BSON representation to use for this type.
Résultat System