Skip to content

Commit 7d32031

Browse files
committed
Added comment.
1 parent e234fbb commit 7d32031

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

src/MongoDB.Driver/ClientSessionOptions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public class ClientSessionOptions
4848
public bool Snapshot { get; set;}
4949

5050
/// <summary>
51-
/// //TODO
51+
/// Gets or sets the snapshot time. If set, Snapshot must be true.
52+
/// <value> The snapshot time </value>
5253
/// </summary>
5354
public BsonTimestamp SnapshotTime { get; set; }
5455

src/MongoDB.Driver/Core/Bindings/CoreSessionOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class CoreSessionOptions
3737
/// <param name="isImplicit">if set to <c>true</c> this session is an implicit session.</param>
3838
/// <param name="isSnapshot">if set to <c>true</c> this session is a snapshot session.</param>
3939
/// <param name="defaultTransactionOptions">The default transaction options.</param>
40-
/// <param name="snapshotTime">//TODO</param>
40+
/// <param name="snapshotTime">The snapshot time. If this is set, isSnapshot must be true.</param>
4141
public CoreSessionOptions(
4242
bool isCausallyConsistent = false,
4343
bool isImplicit = false,
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/* Copyright 2010-present MongoDB Inc.
2+
*
3+
* Licensed under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License.
5+
* You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software
10+
* distributed under the License is distributed on an "AS IS" BASIS,
11+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
* See the License for the specific language governing permissions and
13+
* limitations under the License.
14+
*/
15+
16+
namespace MongoDB.Driver.Tests.UnifiedTestOperations;
17+
18+
public class UnifiedGetSnapshotOperation
19+
{
20+
21+
}

0 commit comments

Comments
 (0)