C# Class MongoDB.Bson.Serialization.Conventions.ConventionRunner

Runs the conventions against a BsonClassMap and its BsonMemberMaps.
Show file Open project: CloudMetal/mongo-csharp-driver Class Usage Examples

Public Methods

Method Description
Apply ( BsonClassMap classMap ) : void

Applies a modification to the class map.

ConventionRunner ( IConventionPack conventions ) : System

Initializes a new instance of the ConventionRunner 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

ConventionRunner() public method

Initializes a new instance of the ConventionRunner class.
public ConventionRunner ( IConventionPack conventions ) : System
conventions IConventionPack The conventions.
return System