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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
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 MethodAllElementsIConvention
Represents all elements in an array (corresponds to the server's "$[]" update operator).
(Defined by MongoEnumerable.)
Public Extension MethodAllMatchingElementsIConvention
Represents all matching elements in an array when using an array filter (corresponds to the server's "$[identifier]" update operator).
(Defined by MongoEnumerable.)
Public Extension MethodBottomIConvention, TResult
Returns the bottom result.
(Defined by MongoEnumerable.)
Public Extension MethodBottomNIConvention, TResult(SortDefinitionIConvention, FuncIConvention, TResult, Int32)Overloaded.
Returns the bottom n results.
(Defined by MongoEnumerable.)
Public Extension MethodBottomNIConvention, TKey, TResult(SortDefinitionIConvention, FuncIConvention, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the bottom n results.
(Defined by MongoEnumerable.)
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 MethodFirstMatchingElementIConvention
Represents the first matching element in an array used in a query (corresponds to the server's "$" update operator).
(Defined by MongoEnumerable.)
Public Extension MethodFirstNIConvention, TResult(FuncIConvention, TResult, Int32)Overloaded.
Returns the first n results.
(Defined by MongoEnumerable.)
Public Extension MethodFirstNIConvention, TKey, TResult(FuncIConvention, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the first n results.
(Defined by MongoEnumerable.)
Public Extension MethodLastNIConvention, TResult(FuncIConvention, TResult, Int32)Overloaded.
Returns the last n results.
(Defined by MongoEnumerable.)
Public Extension MethodLastNIConvention, TKey, TResult(FuncIConvention, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the last n results.
(Defined by MongoEnumerable.)
Public Extension MethodMaxNIConvention, TResult(FuncIConvention, TResult, Int32)Overloaded.
Returns the max n results.
(Defined by MongoEnumerable.)
Public Extension MethodMaxNIConvention, TKey, TResult(FuncIConvention, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the max n results.
(Defined by MongoEnumerable.)
Public Extension MethodMinNIConvention, TResult(FuncIConvention, TResult, Int32)Overloaded.
Returns the min n results.
(Defined by MongoEnumerable.)
Public Extension MethodMinNIConvention, TKey, TResult(FuncIConvention, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the min n results.
(Defined by MongoEnumerable.)
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.)
Public Extension MethodTopIConvention, TResult
Returns the top n results.
(Defined by MongoEnumerable.)
Public Extension MethodTopNIConvention, TResult(SortDefinitionIConvention, FuncIConvention, TResult, Int32)Overloaded.
Returns the top n results.
(Defined by MongoEnumerable.)
Public Extension MethodTopNIConvention, TKey, TResult(SortDefinitionIConvention, FuncIConvention, TResult, TKey, FuncTKey, Int32)Overloaded.
Returns the top n results.
(Defined by MongoEnumerable.)
Public Extension MethodWhereIConvention
Filters a sequence of values based on a predicate and limits the number of results.
(Defined by MongoEnumerable.)
Top
See Also