Click or drag to resize

ConventionPack Class

A mutable pack of conventions.
Inheritance Hierarchy
SystemObject
  MongoDB.Bson.Serialization.ConventionsConventionPack

Namespace:  MongoDB.Bson.Serialization.Conventions
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public class ConventionPack : IConventionPack, 
	IEnumerable<IConvention>, IEnumerable

The ConventionPack type exposes the following members.

Constructors
  NameDescription
Public methodConventionPack
Initializes a new instance of the ConventionPack class.
Top
Properties
  NameDescription
Public propertyConventions
Gets the conventions.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified convention.
Public methodAddClassMapConvention
Adds a class map convention created using the specified action upon a class map.
Public methodAddMemberMapConvention
Adds a member map convention created using the specified action upon a member map.
Public methodAddPostProcessingConvention
Adds a post processing convention created using the specified action upon a class map.
Public methodAddRange
Adds a range of conventions.
Public methodAppend
Appends the conventions in another pack to the end of this pack.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets an enumerator for the conventions.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertAfter
Inserts the convention after another convention specified by the name.
Public methodInsertBefore
Inserts the convention before another convention specified by the name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the named convention.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodContainsAllIConvention
Determines whether a sequence contains all of the specified values.
(Defined by LinqToMongo.)
Public Extension MethodContainsAnyIConvention
Determines whether a sequence contains any of the specified values.
(Defined by LinqToMongo.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, Int32)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, NullableInt32)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, Int64)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, NullableInt64)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, Single)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, NullableSingle)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, Double)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, NullableDouble)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, Decimal)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationPopulationIConvention(FuncIConvention, NullableDecimal)Overloaded.
Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, Int32)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, NullableInt32)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, Int64)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, NullableInt64)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, Single)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, NullableSingle)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, Double)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, NullableDouble)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, Decimal)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodStandardDeviationSampleIConvention(FuncIConvention, NullableDecimal)Overloaded.
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by MongoEnumerable.)
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also