Class ConventionBase
- Namespace
- MongoDB.Bson.Serialization.Conventions
- Assembly
- MongoDB.Bson.dll
Base class for a convention.
public abstract class ConventionBase : IConvention- Inheritance
- 
      
      ConventionBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ConventionBase()
Initializes a new instance of the ConventionBase class.
protected ConventionBase()ConventionBase(string)
Initializes a new instance of the ConventionBase class.
protected ConventionBase(string name)Parameters
- namestring
- The name of the convention. 
Properties
Name
Gets the name of the convention.
public string Name { get; }