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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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
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 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