Constructor ReplaceOneModel
ReplaceOneModel(FilterDefinition<TDocument>, TDocument)
Initializes a new instance of the ReplaceOneModel<TDocument> class.
public ReplaceOneModel(FilterDefinition<TDocument> filter, TDocument replacement)
Parameters
filter
FilterDefinition<TDocument>The filter.
replacement
TDocumentThe replacement.