ScalarDiscriminatorConvention Methods |
The ScalarDiscriminatorConvention type exposes the following members.
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetActualType |
Gets the actual type of an object by reading the discriminator from a BsonReader.
(Inherited from StandardDiscriminatorConvention.) | |
GetDiscriminator |
Gets the discriminator value for an actual type.
(Overrides StandardDiscriminatorConventionGetDiscriminator(Type, Type).) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
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.) |