Click or drag to resize

ObjectProjectionDefinitionTSource Class

An Object based projection whose projection type is not yet known.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverProjectionDefinitionTSource
    MongoDB.DriverObjectProjectionDefinitionTSource

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public sealed class ObjectProjectionDefinition<TSource> : ProjectionDefinition<TSource>

Type Parameters

TSource
The type of the source.

The ObjectProjectionDefinitionTSource type exposes the following members.

Constructors
  NameDescription
Public methodObjectProjectionDefinitionTSource
Initializes a new instance of the ObjectProjectionDefinitionTSource class.
Top
Properties
  NameDescription
Public propertyObject
Gets the object.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRender(IBsonSerializerTSource, IBsonSerializerRegistry) (Inherited from ProjectionDefinitionTSource.)
Public methodRender(IBsonSerializerTSource, IBsonSerializerRegistry, LinqProvider) (Overrides ProjectionDefinitionTSourceRender(IBsonSerializerTSource, IBsonSerializerRegistry, LinqProvider).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodElemMatchTSource, TItem(ExpressionFuncTSource, IEnumerableTItem, FilterDefinitionTItem)Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodElemMatchTSource, TItem(ExpressionFuncTSource, IEnumerableTItem, ExpressionFuncTItem, Boolean)Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodElemMatchTSource, TItem(FieldDefinitionTSource, FilterDefinitionTItem)Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodExcludeTSource(ExpressionFuncTSource, Object)Overloaded.
Combines an existing projection with a projection that excludes a field.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodExcludeTSource(FieldDefinitionTSource)Overloaded.
Combines an existing projection with a projection that excludes a field.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodIncludeTSource(ExpressionFuncTSource, Object)Overloaded.
Combines an existing projection with a projection that includes a field.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodIncludeTSource(FieldDefinitionTSource)Overloaded.
Combines an existing projection with a projection that includes a field.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodMetaTSource
Combines an existing projection with a meta projection.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodMetaTextScoreTSource
Combines an existing projection with a text score projection.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodSliceTSource(ExpressionFuncTSource, Object, Int32, NullableInt32)Overloaded.
Combines an existing projection with an array slice projection.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodSliceTSource(FieldDefinitionTSource, Int32, NullableInt32)Overloaded.
Combines an existing projection with an array slice projection.
(Defined by ProjectionDefinitionExtensions.)
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also