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 | | | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | | Public method | ConventionPack | Initializes a new instance of the ConventionPack class. |

Top

Properties

Methods

| | Name | Description | | | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Public method | Add | Adds the specified convention. | | Public method | AddClassMapConvention | Adds a class map convention created using the specified action upon a class map. | | Public method | AddMemberMapConvention | Adds a member map convention created using the specified action upon a member map. | | Public method | AddPostProcessingConvention | Adds a post processing convention created using the specified action upon a class map. | | Public method | AddRange | Adds a range of conventions. | | Public method | Append | Appends the conventions in another pack to the end of this pack. | | Public method | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | | Protected method | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | | Public method | GetEnumerator | Gets an enumerator for the conventions. | | Public method | GetHashCode | Serves as the default hash function. (Inherited from Object.) | | Public method | GetType | Gets the Type of the current instance. (Inherited from Object.) | | Public method | InsertAfter | Inserts the convention after another convention specified by the name. | | Public method | InsertBefore | Inserts the convention before another convention specified by the name. | | Protected method | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | | Public method | Remove | Removes the named convention. | | Public method | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Top

Extension Methods

| | Name | Description | | | --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Public Extension Method | ContainsAllIConvention | Determines whether a sequence contains all of the specified values. (Defined by LinqToMongo.) | | Public Extension Method | ContainsAnyIConvention | Determines whether a sequence contains any of the specified values. (Defined by LinqToMongo.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | 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.) | | Public Extension Method | ToBson | Serializes an object to a BSON byte array. (Defined by BsonExtensionMethods.) | | Public Extension Method | ToBsonDocument | Serializes an object to a BsonDocument. (Defined by BsonExtensionMethods.) | | Public Extension Method | ToJson | Serializes an object to a JSON string. (Defined by BsonExtensionMethods.) |

Top

See Also

Reference