ConventionPack Class |
Namespace: MongoDB.Bson.Serialization.Conventions
The ConventionPack type exposes the following members.
Name | Description | |
---|---|---|
ConventionPack |
Initializes a new instance of the ConventionPack class.
|
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.) |
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.) | |
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.) |
Name | Description | |
---|---|---|
Conventions |
Gets the conventions.
|