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

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

Public Methods

Method Description
Apply ( BsonClassMap classMap ) : void

Applies a modification to the class map.

BsonDiscriminatorAttribute ( ) : System

Initializes a new instance of the BsonDiscriminatorAttribute class.

BsonDiscriminatorAttribute ( string discriminator ) : System

Initializes a new instance of the BsonDiscriminatorAttribute class.

Method Details

Apply() public method

Applies a modification to the class map.
public Apply ( BsonClassMap classMap ) : void
classMap BsonClassMap The class map.
return void

BsonDiscriminatorAttribute() public method

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

BsonDiscriminatorAttribute() public method

Initializes a new instance of the BsonDiscriminatorAttribute class.
public BsonDiscriminatorAttribute ( string discriminator ) : System
discriminator string The discriminator.
return System