BsonClassMap(TClass) Class (original) (raw)

Name

Description

Public method

AddKnownType

Adds a known type to the class map.

(Inherited from BsonClassMap.)

Public method

AutoMap

Automaps the class.

(Inherited from BsonClassMap.)

Public method

CreateInstance

Creates an instance.

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

Freeze

Freezes the class map.

(Inherited from BsonClassMap.)

Public method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)

Public method

GetMemberMap(String)

Gets a member map (only considers members declared in this class).

(Inherited from BsonClassMap.)

Public method

GetMemberMapTMember(ExpressionFuncTClass, TMember)

Gets a member map.

Public method

GetMemberMapForElement

Gets the member map for a BSON element.

(Inherited from BsonClassMap.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Public method

MapConstructor(ConstructorInfo)

Creates a creator map for a constructor and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapConstructor(ConstructorInfo, String)

Creates a creator map for a constructor and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapCreator(Delegate)

Creates a creator map and adds it to the class.

(Inherited from BsonClassMap.)

Public method

MapCreator(ExpressionFuncTClass, TClass)

Creates a creator map and adds it to the class map.

Public method

MapCreator(Delegate, String)

Creates a creator map and adds it to the class.

(Inherited from BsonClassMap.)

Public method

MapExtraElementsField(String)

Creates a member map for the extra elements field and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapExtraElementsFieldTMember(ExpressionFuncTClass, TMember)

Creates a member map for the extra elements field and adds it to the class map.

Public method

MapExtraElementsMember(MemberInfo)

Creates a member map for the extra elements member and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapExtraElementsMemberTMember(ExpressionFuncTClass, TMember)

Creates a member map for the extra elements member and adds it to the class map.

Public method

MapExtraElementsProperty(String)

Creates a member map for the extra elements property and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapExtraElementsPropertyTMember(ExpressionFuncTClass, TMember)

Creates a member map for the extra elements property and adds it to the class map.

Public method

MapFactoryMethod(MethodInfo)

Creates a creator map for a factory method and adds it to the class.

(Inherited from BsonClassMap.)

Public method

MapFactoryMethod(MethodInfo, String)

Creates a creator map for a factory method and adds it to the class.

(Inherited from BsonClassMap.)

Public method

MapField(String)

Creates a member map for a field and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapFieldTMember(ExpressionFuncTClass, TMember)

Creates a member map for a field and adds it to the class map.

Public method

MapIdField(String)

Creates a member map for the Id field and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapIdFieldTMember(ExpressionFuncTClass, TMember)

Creates a member map for the Id field and adds it to the class map.

Public method

MapIdMember(MemberInfo)

Creates a member map for the Id member and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapIdMemberTMember(ExpressionFuncTClass, TMember)

Creates a member map for the Id member and adds it to the class map.

Public method

MapIdProperty(String)

Creates a member map for the Id property and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapIdPropertyTMember(ExpressionFuncTClass, TMember)

Creates a member map for the Id property and adds it to the class map.

Public method

MapMember(MemberInfo)

Creates a member map for a member and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapMemberTMember(ExpressionFuncTClass, TMember)

Creates a member map and adds it to the class map.

Public method

MapProperty(String)

Creates a member map for a property and adds it to the class map.

(Inherited from BsonClassMap.)

Public method

MapPropertyTMember(ExpressionFuncTClass, TMember)

Creates a member map for the Id property and adds it to the class map.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

Reset

Resets the class map back to its initial state.

(Inherited from BsonClassMap.)

Public method

SetCreator

Sets the creator for the object.

(Inherited from BsonClassMap.)

Public method

SetDiscriminator

Sets the discriminator.

(Inherited from BsonClassMap.)

Public method

SetDiscriminatorIsRequired

Sets whether a discriminator is required when serializing this class.

(Inherited from BsonClassMap.)

Public method

SetExtraElementsMember

Sets the member map of the member used to hold extra elements.

(Inherited from BsonClassMap.)

Public method

SetIdMember

Sets the Id member.

(Inherited from BsonClassMap.)

Public method

SetIgnoreExtraElements

Sets whether extra elements should be ignored when deserializing.

(Inherited from BsonClassMap.)

Public method

SetIgnoreExtraElementsIsInherited

Sets whether the IgnoreExtraElements value should be inherited by derived classes.

(Inherited from BsonClassMap.)

Public method

SetIsRootClass

Sets whether this class is a root class.

(Inherited from BsonClassMap.)

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

Public method

UnmapConstructor

Removes a creator map for a constructor from the class map.

(Inherited from BsonClassMap.)

Public method

UnmapFactoryMethod

Removes a creator map for a factory method from the class map.

(Inherited from BsonClassMap.)

Public method

UnmapField(String)

Removes the member map for a field from the class map.

(Inherited from BsonClassMap.)

Public method

UnmapFieldTMember(ExpressionFuncTClass, TMember)

Removes the member map for a field from the class map.

Public method

UnmapMember(MemberInfo)

Removes a member map from the class map.

(Inherited from BsonClassMap.)

Public method

UnmapMemberTMember(ExpressionFuncTClass, TMember)

Removes a member map from the class map.

Public method

UnmapProperty(String)

Removes the member map for a property from the class map.

(Inherited from BsonClassMap.)

Public method

UnmapPropertyTMember(ExpressionFuncTClass, TMember)

Removes a member map for a property from the class map.