BsonClassMapTClass Class |
Namespace: MongoDB.Bson.Serialization
The BsonClassMapTClass type exposes the following members.
Name | Description | |
---|---|---|
BsonClassMapTClass |
Initializes a new instance of the BsonClassMap class.
| |
BsonClassMapTClass(ActionBsonClassMapTClass) |
Initializes a new instance of the BsonClassMap class.
|
Name | Description | |
---|---|---|
AllMemberMaps |
Gets all the member maps (including maps for inherited members).
(Inherited from BsonClassMap.) | |
BaseClassMap |
Gets the base class map.
(Inherited from BsonClassMap.) | |
ClassType |
Gets the class type.
(Inherited from BsonClassMap.) | |
ConventionPack |
Gets the conventions used for auto mapping.
(Inherited from BsonClassMap.) | |
CreatorMaps |
Gets the constructor maps.
(Inherited from BsonClassMap.) | |
DeclaredMemberMaps |
Gets the declared member maps (only for members declared in this class).
(Inherited from BsonClassMap.) | |
Discriminator |
Gets the discriminator.
(Inherited from BsonClassMap.) | |
DiscriminatorIsRequired |
Gets whether a discriminator is required when serializing this class.
(Inherited from BsonClassMap.) | |
ExtraElementsMemberMap |
Gets the member map of the member used to hold extra elements.
(Inherited from BsonClassMap.) | |
HasCreatorMaps |
Gets whether this class map has any creator maps.
(Inherited from BsonClassMap.) | |
HasRootClass |
Gets whether this class has a root class ancestor.
(Inherited from BsonClassMap.) | |
IdMemberMap |
Gets the Id member map (null if none).
(Inherited from BsonClassMap.) | |
IgnoreExtraElements |
Gets whether extra elements should be ignored when deserializing.
(Inherited from BsonClassMap.) | |
IgnoreExtraElementsIsInherited |
Gets whether the IgnoreExtraElements value should be inherited by derived classes.
(Inherited from BsonClassMap.) | |
IsAnonymous |
Gets whether this class is anonymous.
(Inherited from BsonClassMap.) | |
IsFrozen |
Gets whether the class map is frozen.
(Inherited from BsonClassMap.) | |
IsRootClass |
Gets whether this class is a root class.
(Inherited from BsonClassMap.) | |
KnownTypes |
Gets the known types of this class.
(Inherited from BsonClassMap.) |
Name | Description | |
---|---|---|
AddKnownType |
Adds a known type to the class map.
(Inherited from BsonClassMap.) | |
AutoMap |
Automaps the class.
(Inherited from BsonClassMap.) | |
CreateInstance |
Creates an instance.
| |
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.) | |
Freeze |
Freezes the class map.
(Inherited from BsonClassMap.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMemberMap(String) |
Gets a member map (only considers members declared in this class).
(Inherited from BsonClassMap.) | |
GetMemberMapTMember(ExpressionFuncTClass, TMember) |
Gets a member map.
| |
GetMemberMapForElement |
Gets the member map for a BSON element.
(Inherited from BsonClassMap.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MapConstructor(ConstructorInfo) |
Creates a creator map for a constructor and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapConstructor(ConstructorInfo, String) |
Creates a creator map for a constructor and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapCreator(Delegate) |
Creates a creator map and adds it to the class.
(Inherited from BsonClassMap.) | |
MapCreator(ExpressionFuncTClass, TClass) |
Creates a creator map and adds it to the class map.
| |
MapCreator(Delegate, String) |
Creates a creator map and adds it to the class.
(Inherited from BsonClassMap.) | |
MapExtraElementsField(String) |
Creates a member map for the extra elements field and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapExtraElementsFieldTMember(ExpressionFuncTClass, TMember) |
Creates a member map for the extra elements field and adds it to the class map.
| |
MapExtraElementsMember(MemberInfo) |
Creates a member map for the extra elements member and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapExtraElementsMemberTMember(ExpressionFuncTClass, TMember) |
Creates a member map for the extra elements member and adds it to the class map.
| |
MapExtraElementsProperty(String) |
Creates a member map for the extra elements property and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapExtraElementsPropertyTMember(ExpressionFuncTClass, TMember) |
Creates a member map for the extra elements property and adds it to the class map.
| |
MapFactoryMethod(MethodInfo) |
Creates a creator map for a factory method and adds it to the class.
(Inherited from BsonClassMap.) | |
MapFactoryMethod(MethodInfo, String) |
Creates a creator map for a factory method and adds it to the class.
(Inherited from BsonClassMap.) | |
MapField(String) |
Creates a member map for a field and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapFieldTMember(ExpressionFuncTClass, TMember) |
Creates a member map for a field and adds it to the class map.
| |
MapIdField(String) |
Creates a member map for the Id field and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapIdFieldTMember(ExpressionFuncTClass, TMember) |
Creates a member map for the Id field and adds it to the class map.
| |
MapIdMember(MemberInfo) |
Creates a member map for the Id member and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapIdMemberTMember(ExpressionFuncTClass, TMember) |
Creates a member map for the Id member and adds it to the class map.
| |
MapIdProperty(String) |
Creates a member map for the Id property and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapIdPropertyTMember(ExpressionFuncTClass, TMember) |
Creates a member map for the Id property and adds it to the class map.
| |
MapMember(MemberInfo) |
Creates a member map for a member and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapMemberTMember(ExpressionFuncTClass, TMember) |
Creates a member map and adds it to the class map.
| |
MapProperty(String) |
Creates a member map for a property and adds it to the class map.
(Inherited from BsonClassMap.) | |
MapPropertyTMember(ExpressionFuncTClass, TMember) |
Creates a member map for the property and adds it to the class map.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
Resets the class map back to its initial state.
(Inherited from BsonClassMap.) | |
SetCreator |
Sets the creator for the object.
(Inherited from BsonClassMap.) | |
SetDiscriminator |
Sets the discriminator.
(Inherited from BsonClassMap.) | |
SetDiscriminatorIsRequired |
Sets whether a discriminator is required when serializing this class.
(Inherited from BsonClassMap.) | |
SetExtraElementsMember |
Sets the member map of the member used to hold extra elements.
(Inherited from BsonClassMap.) | |
SetIdMember |
Sets the Id member.
(Inherited from BsonClassMap.) | |
SetIgnoreExtraElements |
Sets whether extra elements should be ignored when deserializing.
(Inherited from BsonClassMap.) | |
SetIgnoreExtraElementsIsInherited |
Sets whether the IgnoreExtraElements value should be inherited by derived classes.
(Inherited from BsonClassMap.) | |
SetIsRootClass |
Sets whether this class is a root class.
(Inherited from BsonClassMap.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnmapConstructor |
Removes a creator map for a constructor from the class map.
(Inherited from BsonClassMap.) | |
UnmapFactoryMethod |
Removes a creator map for a factory method from the class map.
(Inherited from BsonClassMap.) | |
UnmapField(String) |
Removes the member map for a field from the class map.
(Inherited from BsonClassMap.) | |
UnmapFieldTMember(ExpressionFuncTClass, TMember) |
Removes the member map for a field from the class map.
| |
UnmapMember(MemberInfo) |
Removes a member map from the class map.
(Inherited from BsonClassMap.) | |
UnmapMemberTMember(ExpressionFuncTClass, TMember) |
Removes a member map from the class map.
| |
UnmapProperty(String) |
Removes the member map for a property from the class map.
(Inherited from BsonClassMap.) | |
UnmapPropertyTMember(ExpressionFuncTClass, TMember) |
Removes a member map for a property from the class map.
|
Name | Description | |
---|---|---|
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.) |