C# 클래스 MongoDB.Bson.Serialization.Options.KeyValuePairSerializationOptions

Represents serialization options for a KeyValuePair.
상속: BsonBaseSerializationOptions
파일 보기 프로젝트 열기: egametang/Egametang 1 사용 예제들

공개 메소드들

메소드 설명
ApplyAttribute ( IBsonSerializer serializer, Attribute attribute ) : void

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

Clone ( ) : IBsonSerializationOptions

Clones the serialization options.

Freeze ( ) : IBsonSerializationOptions

Freezes the serialization options.

KeyValuePairSerializationOptions ( ) : System

Initializes a new instance of the KeyValuePairSerializationOptions class.

KeyValuePairSerializationOptions ( BsonType representation ) : System

Initializes a new instance of the KeyValuePairSerializationOptions class.

KeyValuePairSerializationOptions ( BsonType representation, IBsonSerializationOptions keySerializationOptions, IBsonSerializationOptions valueSerializationOptions ) : System

Initializes a new instance of the KeyValuePairSerializationOptions class.

메소드 상세

ApplyAttribute() 공개 메소드

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

Clone() 공개 메소드

Clones the serialization options.
public Clone ( ) : IBsonSerializationOptions
리턴 IBsonSerializationOptions

Freeze() 공개 메소드

Freezes the serialization options.
public Freeze ( ) : IBsonSerializationOptions
리턴 IBsonSerializationOptions

KeyValuePairSerializationOptions() 공개 메소드

Initializes a new instance of the KeyValuePairSerializationOptions class.
public KeyValuePairSerializationOptions ( ) : System
리턴 System

KeyValuePairSerializationOptions() 공개 메소드

Initializes a new instance of the KeyValuePairSerializationOptions class.
public KeyValuePairSerializationOptions ( BsonType representation ) : System
representation BsonType The representation to use for the KeyValuePair.
리턴 System

KeyValuePairSerializationOptions() 공개 메소드

Initializes a new instance of the KeyValuePairSerializationOptions class.
public KeyValuePairSerializationOptions ( BsonType representation, IBsonSerializationOptions keySerializationOptions, IBsonSerializationOptions valueSerializationOptions ) : System
representation BsonType The representation to use for the KeyValuePair.
keySerializationOptions IBsonSerializationOptions The serialization options for the key.
valueSerializationOptions IBsonSerializationOptions The serialization options for the value.
리턴 System