Class PipelineUpdateDefinition<TDocument>
A PipelineDefinition<TInput, TOutput> based update definition.
public sealed class PipelineUpdateDefinition<TDocument> : UpdateDefinition<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
UpdateDefinition<TDocument>PipelineUpdateDefinition<TDocument>
- Inherited Members
- Extension Methods
Constructors
PipelineUpdateDefinition(PipelineDefinition<TDocument, TDocument>)
Initializes a new instance of the PipelineUpdateDefinition<TDocument> class.
public PipelineUpdateDefinition(PipelineDefinition<TDocument, TDocument> pipeline)
Parameters
pipeline
PipelineDefinition<TDocument, TDocument>The pipeline.
Properties
Pipeline
Gets the pipeline.
public PipelineDefinition<TDocument, TDocument> Pipeline { get; }
Property Value
- PipelineDefinition<TDocument, TDocument>
Methods
Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
public override BsonValue Render(IBsonSerializer<TDocument> documentSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
documentSerializer
IBsonSerializer<TDocument>The document serializer.
serializerRegistry
IBsonSerializerRegistryThe serializer registry.
linqProvider
LinqProviderThe LINQ provider.
Returns
ToString()
public override string ToString()
Returns
ToString(IBsonSerializer<TDocument>, IBsonSerializerRegistry)
Returns a string that represents this instance.
public string ToString(IBsonSerializer<TDocument> inputSerializer, IBsonSerializerRegistry serializerRegistry)
Parameters
inputSerializer
IBsonSerializer<TDocument>The input serializer.
serializerRegistry
IBsonSerializerRegistryThe serializer registry.
Returns
ToString(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)
Returns a string that represents this instance.
public string ToString(IBsonSerializer<TDocument> inputSerializer, IBsonSerializerRegistry serializerRegistry, LinqProvider linqProvider)
Parameters
inputSerializer
IBsonSerializer<TDocument>The input serializer.
serializerRegistry
IBsonSerializerRegistryThe serializer registry.
linqProvider
LinqProviderThe LINQ provider.