File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ instantiating a new client each time.
4848The following example shows how to create a session by calling the ``StartSession()``
4949method:
5050
51- .. code-block::
52- :language: csharp
51+ .. code-block:: csharp
52+ :copyable: true
5353
5454 var client = new MongoClient("mongodb://localhost:27017");
5555 var session = client.StartSession();
@@ -100,8 +100,8 @@ describes the properties that you can set on a ``ClientSessionOptions`` object:
100100
101101The following code example shows how to create a session with custom options:
102102
103- .. code-block::
104- :language: csharp
103+ .. code-block:: csharp
104+ :copyable: true
105105
106106 var client = new MongoClient("mongodb://localhost:27017");
107107 var sessionOptions = new ClientSessionOptions
You can’t perform that action at this time.
0 commit comments