C# (CSharp) MongoDB.Bson.Serialization.Conventions Namespace

Classes

Name Description
AlwaysIgnoreExtraElementsConvention
AlwaysIgnoreIfDefaultConvention
AlwaysIgnoreIfNullConvention
AlwaysSerializeDefaultValueConvention
AttributeConventionPack Convention pack for applying attributes.
AttributeConventionPack.AttributeConvention
CamelCaseElementNameConvention A convention that sets the element name the same as the member name with the first character lower cased.
ConventionBase Base class for a convention.
ConventionProfile
ConventionProfile.DefaultValueConventionAdapter
ConventionProfile.ElementNameConventionAdapter
ConventionProfile.ExtraElementsConventionAdapter
ConventionProfile.IdGeneratorConventionAdapter
ConventionProfile.IdMemberConventionAdapter
ConventionProfile.IgnoreExtraElementsConventionAdapter
ConventionProfile.IgnoreIfDefaultConventionAdapter
ConventionProfile.IgnoreIfNullConventionAdapter
ConventionProfile.MemberFinderConventionAdapter
ConventionProfile.SerializationOptionsConventionAdapter
ConventionProfile.SerializeDefaultValueConventionAdapter
ConventionRegistry Represents a registry of conventions.
ConventionRegistry.ConventionPackContainer
ConventionRunner Runs the conventions against a BsonClassMap and its BsonMemberMaps.
DefaultConventionPack Convention pack of defaults.
DelegateClassMapConvention A class map convention that wraps a delegate.
DelegateMemberMapConvention A member map convention that wraps a delegate.
DelegatePostProcessingConvention A post processing convention that wraps a delegate.
EnumRepresentationConvention A convention that allows you to set the Enum serialization representation
HierarchicalDiscriminatorConvention Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type.
IgnoreExtraElementsConvention A convention that sets whether to ignore extra elements encountered during deserialization.
IgnoreIfDefaultConvention A convention that sets whether to ignore default values during serialization.
IgnoreIfNullConvention A convention that sets whether to ignore nulls during serialization.
LookupIdGeneratorConvention A convention that looks up an id generator for the id member.
MemberDefaultValueConvention A convention that sets the default value for members of a given type.
MemberNameElementNameConvention A convention that sets the element name the same as the member name.
MemberSerializationOptionsConvention A convention that sets serialization options for members of a given type.
NamedExtraElementsMemberConvention A convention that finds the extra elements member by name (and that is also of type BsonDocument or an IDictionary<string, object>).
NamedIdMemberConvention A convention that finds the id member by name.
NamedParameterCreatorMapConvention A convention that uses the names of the creator parameters to find the matching members.
NeverIgnoreExtraElementsConvention
NeverIgnoreIfDefaultConvention
NeverIgnoreIfNullConvention
NeverSerializeDefaultValueConvention
NoIdMemberConvention A convention that sets a class's IdMember to null.
NullDefaultValueConvention
NullSerializationOptionsConvention
PublicMemberFinderConvention
ReadWriteMemberFinderConvention A convention that finds readable and writeable members and adds them to the class map.
ResetClassMapConvention A convention that resets a class map (resetting any changes that earlier conventions may have applied).
ResetMemberMapsConvention A convention that resets class members (resetting any changes that earlier conventions may have applied).
ScalarDiscriminatorConvention Represents a discriminator convention where the discriminator is provided by the class map of the actual type.
StandardDiscriminatorConvention Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention).
StringObjectIdIdGeneratorConvention A convention that sets the id generator for a string member with a BSON representation of ObjectId.
TypeRepresentationSerializationOptionsConvention