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

A convention that allows you to set the Enum serialization representation
상속: ConventionBase, IMemberMapConvention
파일 보기 프로젝트 열기: egametang/Egametang 1 사용 예제들

공개 메소드들

메소드 설명
Apply ( BsonMemberMap memberMap ) : void

Applies a modification to the member map.

EnumRepresentationConvention ( BsonType representation ) : System

Initializes a new instance of the EnumRepresentationConvention class.

메소드 상세

Apply() 공개 메소드

Applies a modification to the member map.
public Apply ( BsonMemberMap memberMap ) : void
memberMap BsonMemberMap The member map.
리턴 void

EnumRepresentationConvention() 공개 메소드

Initializes a new instance of the EnumRepresentationConvention class.
public EnumRepresentationConvention ( BsonType representation ) : System
representation BsonType The serialization representation. 0 is used to detect representation /// from the enum itself.
리턴 System