C# 클래스 MongoDB.Bson.Serialization.Conventions.TypeRepresentationSerializationOptionsConvention

상속: ISerializationOptionsConvention
파일 보기 프로젝트 열기: egametang/Egametang

공개 메소드들

메소드 설명
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.

메소드 상세

GetSerializationOptions() 공개 메소드

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

TypeRepresentationSerializationOptionsConvention() 공개 메소드

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.
리턴 System