@@ -1426,7 +1426,7 @@ public static IFindFluent<TDocument, TDocument> Find<TDocument>(this IMongoColle
14261426 /// <returns>
14271427 /// The deleted document if one was deleted.
14281428 /// </returns>
1429- public static TDocument FindOneAndDelete < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , FindOneAndDeleteOptions < TDocument , TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
1429+ public static TDocument FindOneAndDelete < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , FindOneAndDeleteOptions < TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
14301430 {
14311431 Ensure . IsNotNull ( collection , nameof ( collection ) ) ;
14321432 Ensure . IsNotNull ( filter , nameof ( filter ) ) ;
@@ -1548,7 +1548,7 @@ public static IFindFluent<TDocument, TDocument> Find<TDocument>(this IMongoColle
15481548 /// <returns>
15491549 /// The deleted document if one was deleted.
15501550 /// </returns>
1551- public static Task < TDocument > FindOneAndDeleteAsync < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , FindOneAndDeleteOptions < TDocument , TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
1551+ public static Task < TDocument > FindOneAndDeleteAsync < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , FindOneAndDeleteOptions < TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
15521552 {
15531553 Ensure . IsNotNull ( collection , nameof ( collection ) ) ;
15541554 Ensure . IsNotNull ( filter , nameof ( filter ) ) ;
@@ -1672,7 +1672,7 @@ public static IFindFluent<TDocument, TDocument> Find<TDocument>(this IMongoColle
16721672 /// <returns>
16731673 /// The returned document.
16741674 /// </returns>
1675- public static TDocument FindOneAndReplace < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , TDocument replacement , FindOneAndReplaceOptions < TDocument , TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
1675+ public static TDocument FindOneAndReplace < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , TDocument replacement , FindOneAndReplaceOptions < TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
16761676 {
16771677 Ensure . IsNotNull ( collection , nameof ( collection ) ) ;
16781678 Ensure . IsNotNull ( filter , nameof ( filter ) ) ;
@@ -1800,7 +1800,7 @@ public static IFindFluent<TDocument, TDocument> Find<TDocument>(this IMongoColle
18001800 /// <returns>
18011801 /// The returned document.
18021802 /// </returns>
1803- public static Task < TDocument > FindOneAndReplaceAsync < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , TDocument replacement , FindOneAndReplaceOptions < TDocument , TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
1803+ public static Task < TDocument > FindOneAndReplaceAsync < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , TDocument replacement , FindOneAndReplaceOptions < TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
18041804 {
18051805 Ensure . IsNotNull ( collection , nameof ( collection ) ) ;
18061806 Ensure . IsNotNull ( filter , nameof ( filter ) ) ;
@@ -1933,7 +1933,7 @@ public static IFindFluent<TDocument, TDocument> Find<TDocument>(this IMongoColle
19331933 /// <returns>
19341934 /// The returned document.
19351935 /// </returns>
1936- public static TDocument FindOneAndUpdate < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , UpdateDefinition < TDocument > update , FindOneAndUpdateOptions < TDocument , TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
1936+ public static TDocument FindOneAndUpdate < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , UpdateDefinition < TDocument > update , FindOneAndUpdateOptions < TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
19371937 {
19381938 Ensure . IsNotNull ( collection , nameof ( collection ) ) ;
19391939 Ensure . IsNotNull ( filter , nameof ( filter ) ) ;
@@ -2085,7 +2085,7 @@ public static IFindFluent<TDocument, TDocument> Find<TDocument>(this IMongoColle
20852085 /// <returns>
20862086 /// The returned document.
20872087 /// </returns>
2088- public static Task < TDocument > FindOneAndUpdateAsync < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , UpdateDefinition < TDocument > update , FindOneAndUpdateOptions < TDocument , TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
2088+ public static Task < TDocument > FindOneAndUpdateAsync < TDocument > ( this IMongoCollection < TDocument > collection , Expression < Func < TDocument , bool > > filter , UpdateDefinition < TDocument > update , FindOneAndUpdateOptions < TDocument > options = null , CancellationToken cancellationToken = default ( CancellationToken ) )
20892089 {
20902090 Ensure . IsNotNull ( collection , nameof ( collection ) ) ;
20912091 Ensure . IsNotNull ( filter , nameof ( filter ) ) ;
0 commit comments