Skip to content

Commit a66b709

Browse files
authored
Update migrating-sdk-code-to-3.n.adoc (#249)
Removed constructor initialization via the CTOR as its internal and the static ConnectAsync method is the way to do this.
1 parent 88bf7ee commit a66b709

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

modules/project-docs/pages/migrating-sdk-code-to-3.n.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,7 @@ var options = new ClusterOptions
118118
};
119119
----
120120

121-
The configuration options are passed into the `Cluster` object via a constructor:
122-
123-
[source,csharp]
124-
----
125-
var cluster = new Cluster("couchbase://localhost", options);
126-
----
127-
128-
Or by using one of the static `Cluster.ConnectAsync(...)` methods:
121+
The configuration options are passed into one of the static `Cluster.ConnectAsync(...)` methods:
129122

130123
[source,csharp]
131124
----

0 commit comments

Comments
 (0)