ConventionPack Class (original) (raw)
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.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public class ConventionPack : IConventionPack, IEnumerable, IEnumerable
Public Class ConventionPack Implements IConventionPack, IEnumerable(Of IConvention), IEnumerable
type ConventionPack =
class
interface IConventionPack
interface IEnumerable
interface IEnumerable
end
The ConventionPack type exposes the following members.
Constructors
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| | ConventionPack | Initializes a new instance of the ConventionPack class. |
Properties
Methods
| | Name | Description | |
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | Add | Adds the specified convention. |
|
| AddClassMapConvention | Adds a class map convention created using the specified action upon a class map. |
|
| AddMemberMapConvention | Adds a member map convention created using the specified action upon a member map. |
|
| AddPostProcessingConvention | Adds a post processing convention created using the specified action upon a class map. |
|
| AddRange | Adds a range of conventions. |
|
| Append | Appends the conventions in another pack to the end of this pack. |
|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
| GetEnumerator | Gets an enumerator for the conventions. |
|
| GetHashCode | Serves as the default hash function. (Inherited from Object.) |
|
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
| InsertAfter | Inserts the convention after another convention specified by the name. |
|
| InsertBefore | Inserts the convention before another convention specified by the name. |
|
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
| Remove | Removes the named convention. |
|
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| | Name | Description | |
| --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | ContainsAllIConvention | Determines whether a sequence contains all of the specified values. (Defined by LinqToMongo.) |
|
| ContainsAnyIConvention | Determines whether a sequence contains any of the specified values. (Defined by LinqToMongo.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationPopulationIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| StandardDeviationSampleIConvention(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.) |
|
| ToBson | Serializes an object to a BSON byte array. (Defined by BsonExtensionMethods.) |
|
| ToBsonDocument | Serializes an object to a BsonDocument. (Defined by BsonExtensionMethods.) |
|
| ToJson | Serializes an object to a JSON string. (Defined by BsonExtensionMethods.) |
See Also