C# Class MongoDB.Bson.Serialization.Attributes.BsonDefaultValueAttribute

Inheritance: System.Attribute
显示文件 Open project: egametang/Egametang

Private Properties

Property Type Description

Public Methods

Method Description
Apply ( BsonMemberMap memberMap ) : void

Applies a modification to the member map.

BsonDefaultValueAttribute ( object defaultValue ) : System

Initializes a new instance of the BsonDefaultValueAttribute class.

Method Details

Apply() public method

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

BsonDefaultValueAttribute() public method

Initializes a new instance of the BsonDefaultValueAttribute class.
public BsonDefaultValueAttribute ( object defaultValue ) : System
defaultValue object The default value.
return System