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

A class map convention that wraps a delegate.
Inheritance: ConventionBase, IClassMapConvention
Afficher le fichier Open project: CloudMetal/mongo-csharp-driver Class Usage Examples

Méthodes publiques

Méthode Description
Apply ( BsonClassMap classMap ) : void

Applies a modification to the class map.

DelegateClassMapConvention ( string name, Action action ) : System

Initializes a new instance of the DelegateClassMapConvention class.

Method Details

Apply() public méthode

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

DelegateClassMapConvention() public méthode

Initializes a new instance of the DelegateClassMapConvention class.
public DelegateClassMapConvention ( string name, Action action ) : System
name string The name.
action Action The delegate.
Résultat System