Click or drag to resize

JsonProjectionDefinitionTSource Class

A JSON String based projection whose projection type is not yet known.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverProjectionDefinitionTSource
    MongoDB.DriverJsonProjectionDefinitionTSource

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public sealed class JsonProjectionDefinition<TSource> : ProjectionDefinition<TSource>

Type Parameters

TSource
The type of the source.

The JsonProjectionDefinitionTSource type exposes the following members.

Constructors
  NameDescription
Public methodJsonProjectionDefinitionTSource
Initializes a new instance of the JsonProjectionDefinitionTSource class.
Top
Properties
  NameDescription
Public propertyJson
Gets the json.
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 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