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

Represents serialization options for an Array value.
Inheritance: BsonBaseSerializationOptions
ファイルを表示 Open project: egametang/Egametang

Public Methods

Method Description
ApplyAttribute ( IBsonSerializer serializer, Attribute attribute ) : void

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

ArraySerializationOptions ( ) : System

Initializes a new instance of the ArraySerializationOptions class.

ArraySerializationOptions ( IBsonSerializationOptions itemSerializationOptions ) : System

Initializes a new instance of the ArraySerializationOptions class.

Clone ( ) : IBsonSerializationOptions

Clones the serialization options.

Freeze ( ) : IBsonSerializationOptions

Freezes the serialization options.

Method Details

ApplyAttribute() public method

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.
return void

ArraySerializationOptions() public method

Initializes a new instance of the ArraySerializationOptions class.
public ArraySerializationOptions ( ) : System
return System

ArraySerializationOptions() public method

Initializes a new instance of the ArraySerializationOptions class.
public ArraySerializationOptions ( IBsonSerializationOptions itemSerializationOptions ) : System
itemSerializationOptions IBsonSerializationOptions The serialization options to use for items in the array.
return System

Clone() public method

Clones the serialization options.
public Clone ( ) : IBsonSerializationOptions
return IBsonSerializationOptions

Freeze() public method

Freezes the serialization options.
public Freeze ( ) : IBsonSerializationOptions
return IBsonSerializationOptions